Searched refs:readlink (Results 1 - 25 of 96) sorted by relevance

1234

/freebsd-13-stable/usr.bin/stat/
H A DMakefile7 LINKS= ${BINDIR}/stat ${BINDIR}/readlink
8 MLINKS= stat.1 readlink.1
/freebsd-13-stable/usr.bin/stat/tests/
H A Dreadlink_test.sh31 atf_set "descr" "Verify that calling readlink without any flags " \
37 atf_check -o inline:'foo\n' readlink bar
43 atf_set "descr" "Verify that calling readlink with -f will not emit " \
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-13-stable/sys/contrib/openzfs/cmd/zpool/zpool.d/
H A Ddm-deps16 dev=$(readlink "$dev")
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/ssp/
H A Dh_readlink.c56 (void)readlink("symlink", b, len);
61 (void)readlink("/", b, len);
H A Dt_ssp.sh403 atf_test_case readlink
406 atf_set "descr" "Checks readlink(2)"
463 atf_add_test_case readlink
/freebsd-13-stable/contrib/bc/
H A Dexec-install.sh57 link=$(readlink "$exe")
/freebsd-13-stable/sys/contrib/openzfs/lib/libspl/os/linux/
H A Dgetexecname.c45 rc = readlink("/proc/self/exe",
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/scripts/
H A Dbuild_symbolizer.sh33 SRC_DIR=$(readlink -f $SCRIPT_DIR/..)
34 TARGE_DIR=$(readlink -f $1)
35 COMPILER_RT_SRC=$(readlink -f ${SCRIPT_DIR}/../../../..)
37 LLVM_SRC=$(readlink -f $LLVM_SRC)
39 LLVM_SRC=$(readlink -f ${COMPILER_RT_SRC}/../../../llvm)
41 LIBCXX_SRC=$(readlink -f ${COMPILER_RT_SRC}/../libcxx)
42 LIBCXXABI_SRC=$(readlink -f ${COMPILER_RT_SRC}/../libcxxabi)
57 ZLIB_SRC=$(readlink -f $ZLIB_SRC)
62 CLANG_DIR=$(readlink -f $(dirname "$CLANG"))
64 BUILD_DIR=$(readlink
[all...]
H A Dar_to_bc.sh19 OUTPUT=$(readlink -f $ARG)
/freebsd-13-stable/lib/libc/gen/
H A Dcheck_utility_compat.c58 if ((len = readlink(_PATH_UTIL_COMPAT, buf, sizeof(buf) - 1)) < 0)
/freebsd-13-stable/tests/sys/fs/fusefs/
H A Dreadlink.cc80 EXPECT_EQ(-1, readlink(FULLPATH, buf, sizeof(buf)));
99 readlink(FULLPATH, buf, sizeof(buf)));
103 TEST_F(PushSymlinksIn, readlink)
123 readlink(FULLPATH, buf, sizeof(buf)));
/freebsd-13-stable/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-13-stable/usr.bin/cmp/
H A Dlink.c51 if ((len1 = readlink(file1, buf1, sizeof(buf1) - 1)) < 0) {
58 if ((len2 = readlink(file2, buf2, sizeof(buf2) - 1)) < 0) {
/freebsd-13-stable/contrib/lib9p/backend/
H A Dbackend.h51 int (*readlink)(void *, struct l9p_request *); member in struct:l9p_backend
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/user_namespace/
H A Duser_namespace_001.ksh54 TOUCH=$(readlink -e $(which touch))
55 CHMOD=$(readlink -e $(which chmod))
/freebsd-13-stable/contrib/netbsd-tests/bin/cp/
H A Dt_cp.sh144 if [ `readlink link` != `readlink file` ]; then
145 atf_fail "readlink link != readlink file"
185 atf_check -s eq:1 -o empty -e empty readlink dirlink
201 if [ `readlink file` != `readlink dirlink` ]; then
202 atf_fail "readlink link != readlink file"
213 readlink dir
[all...]
/freebsd-13-stable/sys/contrib/device-tree/scripts/
H A Dfilter.sh7 export SCRIPTS=$(dirname $(readlink -f $0))
/freebsd-13-stable/tests/sys/audit/
H A Dfile-read.c44 "readlink(2) call");
52 ATF_REQUIRE(readlink(path, buff, sizeof(buff)-1) != -1);
66 "readlink(2) call");
74 ATF_REQUIRE_EQ(-1, readlink(path, buff, sizeof(buff)-1));
/freebsd-13-stable/tests/sys/cddl/zfs/tests/cli_root/zpool_add/
H A Dzpool_add.kshlib127 dumpdev=`readlink /dev/dumpdev`
/freebsd-13-stable/usr.bin/xinstall/tests/
H A Dinstall_test.sh290 copyf_path=$(readlink copyf)
303 copyf_path=$(readlink copyf)
324 dest_path_relative=$(readlink $dest_path)
345 dest_path_relative=$(readlink $dest_path)
366 dest_path_relative=$(readlink $dest_path)
400 dest_path_relative=$(readlink $dest_file)
/freebsd-13-stable/contrib/llvm-project/lldb/source/Host/posix/
H A DFileSystemPosix.cpp46 ssize_t count = ::readlink(src.GetPath().c_str(), buf, sizeof(buf) - 1);
/freebsd-13-stable/usr.bin/find/
H A Dls.c116 if ((lnklen = readlink(name, path, MAXPATHLEN - 1)) == -1) {
/freebsd-13-stable/usr.sbin/etcupdate/
H A Detcupdate.sh321 first=`readlink $1`
322 second=`readlink $2`
480 first=`readlink $1/$file`
481 second=`readlink $2/$file`
1117 old=`readlink $OLDTREE/$file`
1118 new=`readlink $NEWTREE/$file`
1157 new=`readlink $NEWTREE/$file`
1158 dest=`readlink $DESTDIR/$file`
1189 old=`readlink $OLDTREE/$file`
1190 new=`readlink
[all...]
/freebsd-13-stable/sys/contrib/openzfs/cmd/vdev_id/
H A Dvdev_id598 ENC=$(basename $(readlink -m "/sys/$DEVPATH/../.."))
607 ENC_DEVICE=$(readlink "/sys/class/enclosure/$ENC")
618 PCI_ID_LONG=$(basename $(readlink -m "/sys/$PORT_DIR/../.."))
/freebsd-13-stable/contrib/bmake/
H A Drealpath.c180 n = readlink(resolved, wbuf[idx], sizeof(wbuf[0]) - 1);

Completed in 284 milliseconds

1234