diff options
-rwxr-xr-x | tests/ls/follow-slink | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ls/follow-slink b/tests/ls/follow-slink index ea87d92ea..85d303a0c 100755 --- a/tests/ls/follow-slink +++ b/tests/ls/follow-slink @@ -16,6 +16,11 @@ mkdir $tmp || framework_failure=1 cd $tmp || framework_failure=1 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 + if test $framework_failure = 1; then echo 'failure in testing framework' (exit 1); exit |