]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Make sure the symlink was created.
authorJim Meyering <jim@meyering.net>
Wed, 4 Dec 2002 19:23:33 +0000 (19:23 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 4 Dec 2002 19:23:33 +0000 (19:23 +0000)
Richard Dawe reported that `ln -s link link' succeeds, but creates
no file on systems running some version of the DJGPP libc.

tests/ls/follow-slink

index ea87d92eab0b09c52f3c560a3e8f9b8fcccc28e9..85d303a0c7e3eff77f8b0c77d22d43ad8d91f14a 100755 (executable)
@@ -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