summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-12-04 19:23:33 +0000
committerJim Meyering <jim@meyering.net>2002-12-04 19:23:33 +0000
commit7c42947dc5e250215a0dfae5537e087e17626abc (patch)
tree64f2cd4d47676666cf22f649fe6b342169c09caf /tests
parent75a84d6f4a9a3e7580c285b706f859a5b04e3be9 (diff)
downloadcoreutils-7c42947dc5e250215a0dfae5537e087e17626abc.tar.xz
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.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/ls/follow-slink5
1 files changed, 5 insertions, 0 deletions
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