• Home
  • Raw
  • Download

Lines Matching full:readlink

9 testing "missing" "readlink notfound || echo yes" "yes\n" "" ""
14 testing "file" "readlink file || echo yes" "yes\n" "" ""
15 testing "-f dir" "readlink -f ." "$APWD\n" "" ""
16 testing "-f missing" "readlink -f notfound" "$APWD/notfound\n" "" ""
19 testing "link" "readlink link" "notfound\n" "" ""
20 testing "link->missing" "readlink -f link" "$APWD/notfound\n" "" ""
22 testing "stays relative" "readlink link" "../../\n" "" ""
25 testing "-f link->file" "readlink -f link" "$APWD/file\n" "" ""
27 testing "-f link->dir" "readlink -f link" "$APWD\n" "" ""
29 testing "link->link (recursive)" "readlink link" "link\n" "" ""
31 "readlink -f link 2>/dev/null || echo yes" "yes\n" "" ""
33 testing "-q notlink" "readlink -q file || echo yes" "yes\n" "" ""
34 testing "-q link" "readlink -q link && echo yes" "yes\n" "" ""
35 testing "-q notfound" "readlink -q notfound || echo yes" "yes\n" "" ""
36 testing "-e found" "readlink -e file" "$APWD/file\n" "" ""
38 "readlink -e notfound 2>/dev/null || echo yes" "yes\n" "" ""
39 testing "-nf ." "readlink -nf ." "$APWD" "" ""
45 testing "-f multi" "readlink -f dir/../here/dir/bang" \
47 testing "-f link/missing" "readlink -f dir/boing" \
50 "readlink -f /dev/null/file 2>/dev/null || echo yes" "yes\n" "" ""
51 testing "-m missing/dir" "readlink -m sub/two/three" "$APWD/sub/two/three\n" "" ""
52 testing "-m missing/../elsewhere" "readlink -m sub/two/../../three" "$APWD/three\n" "" ""
53 testing "-m file/dir" "readlink -m sub/bang/two 2>/dev/null || echo err" "err\n" "" ""
56 testing "-f link->/" "readlink -e link/dev" "/dev\n" "" ""
58 "readlink -f link/null/.. 2>/dev/null || echo yes" "yes\n" "" ""
60 testing "recurse" "readlink link" "link\n" "" ""
69 testing "follow recursive2" "readlink -f link1 || echo yes" \