summaryrefslogtreecommitdiff
path: root/tests/touch
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-10-23 13:25:05 +0000
committerJim Meyering <jim@meyering.net>1999-10-23 13:25:05 +0000
commit0a4ef2236dd97606e5e3787b5578a1845af8b859 (patch)
tree33df35f9e57a9a2ede248f083af05348692c24c1 /tests/touch
parent40c66374f45b2eab8f282d5760d6aadd7f4c26a9 (diff)
downloadcoreutils-0a4ef2236dd97606e5e3787b5578a1845af8b859.tar.xz
*** empty log message ***
Diffstat (limited to 'tests/touch')
-rwxr-xr-xtests/touch/dangling-symlink3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/touch/dangling-symlink b/tests/touch/dangling-symlink
index c7cde334c..7e6e0080c 100755
--- a/tests/touch/dangling-symlink
+++ b/tests/touch/dangling-symlink
@@ -7,8 +7,9 @@ if test "$VERBOSE" = yes; then
touch --version
fi
-fail=0
+rm -f touch-target t-symlink
ln -s touch-target t-symlink
+fail=0
# This used to infloop.
touch t-symlink || fail=1