summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley2006-05-05 22:22:30 +0000
committerRob Landley2006-05-05 22:22:30 +0000
commit42bd987e226a72b06fab25681e598759910c33a8 (patch)
tree747821332b9950cfbd41bae720f1edd465b1e0dd
parentc008c7440dd0db4b51afba30cc60814577a2090a (diff)
downloadbusybox-42bd987e226a72b06fab25681e598759910c33a8.zip
busybox-42bd987e226a72b06fab25681e598759910c33a8.tar.gz
Add an "optional" line for FEATURE_READLINK_FOLLOW.
-rw-r--r--testsuite/readlink.tests3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/readlink.tests b/testsuite/readlink.tests
index 5483d97..fc04702 100644
--- 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" "" "" ""