aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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" "" "" ""