From 7c42947dc5e250215a0dfae5537e087e17626abc Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 4 Dec 2002 19:23:33 +0000 Subject: Make sure the symlink was created. 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 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') 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 -- cgit v1.2.3-70-g09d2