From: Jim Meyering Date: Wed, 4 Dec 2002 19:23:33 +0000 (+0000) Subject: Make sure the symlink was created. X-Git-Tag: v4.5.4~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c42947dc5e250215a0dfae5537e087e17626abc;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/tests/ls/follow-slink b/tests/ls/follow-slink index ea87d92eab..85d303a0c7 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