Home
last modified time | relevance | path

Searched refs:readlink (Results 1 – 25 of 107) sorted by relevance

12345

/freebsd-12.1/usr.bin/stat/tests/
H A Dreadlink_test.sh37 atf_check -o inline:'foo\n' readlink bar
51 -s exit:1 readlink A.file A.link
53 -s exit:1 readlink -f A.file A.link
64 atf_check -o 'inline:nonexistent.A\nnonexistent.B\n' readlink A B
65 atf_check -o 'inline:nonexistent.Anonexistent.B' readlink -n A B
/freebsd-12.1/bin/ln/tests/
H A Dln_test.sh54 atf_check -o inline:'A\n' readlink B
135 atf_check -o inline:'B\n' readlink C
150 atf_check -o inline:'B\n' readlink C
166 atf_check -o inline:'A\n' readlink B
183 atf_check -o inline:'A\n' readlink B
198 atf_check -o inline:'A\n' readlink B
212 atf_check -o inline:'A\n' readlink B
227 atf_check -o inline:'A\n' readlink B
/freebsd-12.1/contrib/netbsd-tests/bin/cp/
H A Dt_cp.sh144 if [ `readlink link` != `readlink file` ]; then
185 atf_check -s eq:1 -o empty -e empty readlink dirlink
201 if [ `readlink file` != `readlink dirlink` ]; then
213 readlink dir2/link >/dev/null
228 readlink dir2/dirlink/link >/dev/null
249 atf_check -s eq:1 -o ignore -e empty readlink dir2/dirlink/dirlink/link
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/symbolizer/scripts/
H A Dbuild_symbolizer.sh29 SRC_DIR=$(readlink -f $SCRIPT_DIR/..)
30 TARGE_DIR=$(readlink -f $1)
33 LLVM_SRC=$(readlink -f $LLVM_SRC)
47 ZLIB_SRC=$(readlink -f $ZLIB_SRC)
52 CLANG_DIR=$(readlink -f $(dirname "$CLANG"))
54 BUILD_DIR=$(readlink -f ./symbolizer)
H A Dar_to_bc.sh12 AR=$(readlink -f $AR)
13 LINK=$(readlink -f $LINK)
19 OUTPUT=$(readlink -f $ARG)
/freebsd-12.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/misc/
H A Dtst.macroglob.ksh.out9 readlink entry
14 readlink entry
18 readlink entry
/freebsd-12.1/tests/sys/fs/fusefs/
H A Dreadlink.cc80 EXPECT_EQ(-1, readlink(FULLPATH, buf, sizeof(buf))); in TEST_F()
99 readlink(FULLPATH, buf, sizeof(buf))); in TEST_F()
103 TEST_F(PushSymlinksIn, readlink) in TEST_F() argument
123 readlink(FULLPATH, buf, sizeof(buf))); in TEST_F()
H A DMakefile38 GTESTS+= readlink
/freebsd-12.1/contrib/gcclibs/libssp/ssp/
H A Dunistd.h45 #undef readlink
62 readlink);
65 readlink (const char *__restrict__ __path, char *__restrict__ __buf, in readlink() function
/freebsd-12.1/usr.sbin/etcupdate/
H A Detcupdate.sh316 first=`readlink $1`
317 second=`readlink $2`
475 first=`readlink $1/$file`
476 second=`readlink $2/$file`
1106 old=`readlink $OLDTREE/$file`
1107 new=`readlink $NEWTREE/$file`
1146 new=`readlink $NEWTREE/$file`
1178 old=`readlink $OLDTREE/$file`
1179 new=`readlink $NEWTREE/$file`
1247 new=`readlink $NEWTREE/$file`
[all …]
/freebsd-12.1/usr.bin/xinstall/tests/
H A Dinstall_test.sh286 copyf_path=$(readlink copyf)
299 copyf_path=$(readlink copyf)
320 dest_path_relative=$(readlink $dest_path)
341 dest_path_relative=$(readlink $dest_path)
362 dest_path_relative=$(readlink $dest_path)
396 dest_path_relative=$(readlink $dest_file)
/freebsd-12.1/usr.bin/stat/
H A DMakefile7 LINKS= ${BINDIR}/stat ${BINDIR}/readlink
8 MLINKS= stat.1 readlink.1
/freebsd-12.1/contrib/netbsd-tests/lib/libc/ssp/
H A Dh_readlink.c56 (void)readlink("symlink", b, len); in main()
61 (void)readlink("/", b, len); in main()
H A Dt_ssp.sh403 atf_test_case readlink
463 atf_add_test_case readlink
/freebsd-12.1/usr.bin/cmp/
H A Dlink.c50 if ((len1 = readlink(file1, buf1, sizeof(buf1) - 1)) < 0) { in c_link()
57 if ((len2 = readlink(file2, buf2, sizeof(buf2) - 1)) < 0) { in c_link()
/freebsd-12.1/tests/sys/audit/
H A Dfile-read.c52 ATF_REQUIRE(readlink(path, buff, sizeof(buff)-1) != -1); in ATF_TC_BODY()
74 ATF_REQUIRE_EQ(-1, readlink(path, buff, sizeof(buff)-1)); in ATF_TC_BODY()
/freebsd-12.1/lib/libc/gen/
H A Dcheck_utility_compat.c58 if ((len = readlink(_PATH_UTIL_COMPAT, buf, sizeof(buf) - 1)) < 0) in check_utility_compat()
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_solaris.cc131 DECLARE__REAL_AND_INTERNAL(uptr, readlink, const char *path, char *buf, in DECLARE__REAL_AND_INTERNAL() argument
133 return _REAL(readlink)(path, buf, bufsize); in DECLARE__REAL_AND_INTERNAL()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Host/posix/
H A DFileSystem.cpp46 ssize_t count = ::readlink(src.GetCString(), buf, sizeof(buf) - 1); in Readlink()
/freebsd-12.1/tests/sys/cddl/zfs/tests/cli_root/zpool_add/
H A Dzpool_add.kshlib127 dumpdev=`readlink /dev/dumpdev`
/freebsd-12.1/usr.bin/find/
H A Dls.c116 if ((lnklen = readlink(name, path, MAXPATHLEN - 1)) == -1) { in printlink()
/freebsd-12.1/contrib/bmake/
H A Drealpath.c180 n = readlink(resolved, wbuf[idx], sizeof(wbuf[0]) - 1); in realpath()
/freebsd-12.1/contrib/gdb/gdb/
H A Dfbsd-proc.c45 if (readlink (path, buf, MAXPATHLEN) > 0) in child_pid_to_exec_file()
/freebsd-12.1/contrib/openbsm/libauditd/
H A Dauditd_lib.c439 len = readlink(AUDIT_CURRENT_LINK, activefn, MAXPATHLEN - 1); in auditd_expire_trails()
1117 len = readlink(AUDIT_CURRENT_LINK, recoveredname, in auditd_new_curlink()
1274 len = readlink(AUDIT_CURRENT_LINK, oldname, sizeof(oldname) - 1); in audit_quick_stop()
/freebsd-12.1/crypto/openssh/openbsd-compat/
H A Drealpath.c176 slen = readlink(resolved, symlink, sizeof(symlink) - 1); in realpath()

12345