aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorGravatar Rob Landley <rob@landley.net>2006-05-05 22:22:30 +0000
committerGravatar Rob Landley <rob@landley.net>2006-05-05 22:22:30 +0000
commit42bd987e226a72b06fab25681e598759910c33a8 (patch)
tree747821332b9950cfbd41bae720f1edd465b1e0dd /testsuite
parentc008c7440dd0db4b51afba30cc60814577a2090a (diff)
downloadbusybox-42bd987e226a72b06fab25681e598759910c33a8.tar.gz
busybox-42bd987e226a72b06fab25681e598759910c33a8.tar.bz2
Add an "optional" line for FEATURE_READLINK_FOLLOW.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/readlink.tests3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/readlink.tests b/testsuite/readlink.tests
index 5483d9772..fc04702d3 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" "" "" ""