Lines Matching full:link
18 ln -sf notfound link
19 testing "link" "readlink link" "notfound\n" "" ""
20 testing "link->missing" "readlink -f link" "$APWD/notfound\n" "" ""
21 ln -sf ../../ link
22 testing "stays relative" "readlink link" "../../\n" "" ""
23 rm link
24 ln -sf file link
25 testing "-f link->file" "readlink -f link" "$APWD/file\n" "" ""
26 ln -sf . link
27 testing "-f link->dir" "readlink -f link" "$APWD\n" "" ""
28 ln -snf link link
29 testing "link->link (recursive)" "readlink link" "link\n" "" ""
30 testing "-f link->link (recursive)" \
31 "readlink -f link 2>/dev/null || echo yes" "yes\n" "" ""
34 testing "-q link" "readlink -q link && echo yes" "yes\n" "" ""
47 testing "-f link/missing" "readlink -f dir/boing" \
54 rm link
55 ln -sf / link || exit 1
56 testing "-f link->/" "readlink -e link/dev" "/dev\n" "" ""
58 "readlink -f link/null/.. 2>/dev/null || echo yes" "yes\n" "" ""
59 rm -f link && ln -sf link link || exit 1
60 testing "recurse" "readlink link" "link\n" "" ""
62 rm file link sub/bang dir here