OSDN Git Service
(root)
/
android-x86
/
external-busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c008c74
)
Add an "optional" line for FEATURE_READLINK_FOLLOW.
author
Rob Landley
<rob@landley.net>
Fri, 5 May 2006 22:22:30 +0000
(22:22 -0000)
committer
Rob Landley
<rob@landley.net>
Fri, 5 May 2006 22:22:30 +0000
(22:22 -0000)
testsuite/readlink.tests
patch
|
blob
|
history
diff --git
a/testsuite/readlink.tests
b/testsuite/readlink.tests
index
5483d97
..
fc04702
100644
(file)
--- a/
testsuite/readlink.tests
+++ b/
testsuite/readlink.tests
@@
-18,6
+18,9
@@
ln -s "./$TESTFILE" "./$TESTLINK"
testing "readlink on a file" "readlink ./$TESTFILE" "" "" ""
testing "readlink on a link" "readlink ./$TESTLINK" "./$TESTFILE\n" "" ""
+
+optional FEATURE_READLINK_FOLLOW
+
testing "readlink -f on a file" "readlink -f ./$TESTFILE" "$PWD/$TESTFILE\n" "" ""
testing "readlink -f on a link" "readlink -f ./$TESTLINK" "$PWD/$TESTFILE\n" "" ""
testing "readlink -f on an invalid link" "readlink -f ./$FAILLINK" "" "" ""