mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
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:
1 parent
75a84d6f4a
commit
7c42947dc5
1 file changed
+5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user