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.
This commit is contained in:
Jim Meyering committed 2002-12-04 19:23:33 +00:00
1 parent 75a84d6f4a
commit 7c42947dc5
1 file changed
+5
+5
View File
@@ -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