summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/ls/follow-slink2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ls/follow-slink b/tests/ls/follow-slink
index 85d303a0c..57183864e 100755
--- a/tests/ls/follow-slink
+++ b/tests/ls/follow-slink
@@ -19,7 +19,7 @@ ln -s link link || framework_failure=1
# Make sure the symlink was created.
# `ln -s link link' succeeds, but creates no file on
# systems running some version of the DJGPP libc.
-ls link || framework_failure=1
+ls -F link > /dev/null || framework_failure=1
if test $framework_failure = 1; then
echo 'failure in testing framework'