Home
last modified time | relevance | path

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

123456

/freebsd/usr.bin/stat/tests/
H A Dreadlink_test.sh36 atf_check -o inline:'foo\n' readlink bar
50 -s exit:1 readlink A.file A.link
52 -s exit:1 readlink -f A.file A.link
63 atf_check -o 'inline:nonexistent.A\nnonexistent.B\n' readlink A B
64 atf_check -o 'inline:nonexistent.Anonexistent.B' readlink -n A B
/freebsd/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/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/misc/
H A Dtst.macroglob.ksh.out9 readlink entry
14 readlink entry
18 readlink entry
/freebsd/tests/sys/fs/fusefs/
H A Dreadlink.cc78 EXPECT_EQ(-1, readlink(FULLPATH, buf, sizeof(buf))); in TEST_F()
115 EXPECT_EQ(-1, readlink(FULLPATH, buf, sizeof(buf))); in TEST_F()
136 readlink(FULLPATH, buf, sizeof(buf))); in TEST_F()
140 TEST_F(PushSymlinksIn, readlink) in TEST_F() argument
160 readlink(FULLPATH, buf, sizeof(buf))); in TEST_F()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/scripts/
H A Dbuild_symbolizer.sh23 SRC_DIR=$(readlink -f $SCRIPT_DIR/..)
30 OUTPUT=$(readlink -f $1)
31 COMPILER_RT_SRC=$(readlink -f ${SCRIPT_DIR}/../../../..)
33 LLVM_SRC=$(readlink -f $LLVM_SRC)
36 CLANG_DIR=$(readlink -f $(dirname "$CLANG"))
78 ZLIB_SRC=$(readlink -f $ZLIB_SRC)
/freebsd/usr.sbin/etcupdate/
H A Detcupdate.sh365 first=`readlink $1`
366 second=`readlink $2`
524 first=`readlink $1/$file`
525 second=`readlink $2/$file`
1162 old=`readlink $OLDTREE/$file`
1163 new=`readlink $NEWTREE/$file`
1202 new=`readlink $NEWTREE/$file`
1203 dest=`readlink $DESTDIR/$file`
1234 old=`readlink $OLDTREE/$file`
1235 new=`readlink
[all...]
/freebsd/usr.bin/stat/
H A DMakefile5 LINKS= ${BINDIR}/stat ${BINDIR}/readlink
6 MLINKS= stat.1 readlink.1
/freebsd/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/usr.bin/cmp/
H A Dlink.c51 if ((len1 = readlink(file1, buf1, sizeof(buf1) - 1)) < 0) { in c_link()
58 if ((len2 = readlink(file2, buf2, sizeof(buf2) - 1)) < 0) { in c_link()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/user_namespace/
H A Duser_namespace_001.ksh59 TOUCH=$(readlink -f $(command -v touch))
60 CHMOD=$(readlink -f $(command -v chmod))
/freebsd/usr.bin/xinstall/tests/
H A Dinstall_test.sh305 copyf_path=$(readlink copyf)
318 copyf_path=$(readlink copyf)
339 dest_path_relative=$(readlink $dest_path)
360 dest_path_relative=$(readlink $dest_path)
381 dest_path_relative=$(readlink $dest_path)
415 dest_path_relative=$(readlink $dest_file)
/freebsd/tests/sys/audit/
H A Dfile-read.c50 ATF_REQUIRE(readlink(path, buff, sizeof(buff)-1) != -1); in ATF_TC_BODY()
72 ATF_REQUIRE_EQ(-1, readlink(path, buff, sizeof(buff)-1)); in ATF_TC_BODY()
/freebsd/tools/test/stress2/misc/
H A Dsymlink2.sh98 if ((n = readlink(path, buf, sizeof(buf) -1)) < 0) {
101 if ((n = readlink(path, buf, sizeof(buf) -1)) > 0) {
/freebsd/contrib/dialog/package/debian/
H A Drules107 dh_link -p${DEV_PACKAGE} $(LIBDIR)/`readlink $$P` $(LIBDIR)/$$P ; \
111 dh_link -p${ACTUAL_PROG} $(LIBDIR)/`readlink $$P` $(LIBDIR)/$$P ; \
/freebsd/sys/contrib/openzfs/lib/libspl/os/linux/
H A Dgetexecname.c31 return (readlink("/proc/self/exe", execname, PATH_MAX)); in getexecname_impl()
H A Dzone.c47 ssize_t r = readlink(path, buf, sizeof (buf) - 1); in getzoneid()
/freebsd/sys/contrib/openzfs/cmd/zpool/zpool.d/
H A Ddm-deps17 dev=$(readlink "$dev")
/freebsd/tools/test/stress2/lib/
H A Doptions.c254 if ((n = readlink(path, buf, sizeof(buf) -1)) < 0) { in getval()
257 if ((n = readlink(path, buf, sizeof(buf) -1)) > 0) in getval()
/freebsd/contrib/wpa/src/drivers/
H A Dlinux_ioctl.c213 res = readlink(path, brlink, sizeof(brlink)); in linux_br_get()
234 res = readlink(buf, masterlink, sizeof(masterlink)); in linux_master_get()
/freebsd/lib/libc/gen/
H A Dcheck_utility_compat.c55 if ((len = readlink(_PATH_UTIL_COMPAT, buf, sizeof(buf) - 1)) < 0) in check_utility_compat()
/freebsd/contrib/bc/scripts/
H A Dexec-install.sh72 link=$(readlink "$exe")
/freebsd/bin/ln/tests/
H A Dln_test.sh36 atf_check -o inline:"$1\n" readlink "$2"
120 atf_check -o inline:'B\n' readlink C
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_solaris.cpp145 DECLARE__REAL_AND_INTERNAL(uptr, readlink, const char *path, char *buf, in DECLARE__REAL_AND_INTERNAL() argument
147 return _REAL(readlink)(path, buf, bufsize); in DECLARE__REAL_AND_INTERNAL()
/freebsd/contrib/lib9p/backend/
H A Dbackend.h51 int (*readlink)(void *, struct l9p_request *); member

123456