summaryrefslogtreecommitdiff
path: root/tests/ln
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-11-07 11:46:20 +0000
committerJim Meyering <jim@meyering.net>1999-11-07 11:46:20 +0000
commit51ca1e585c3d14a1755d4ee991150b1de7f6c07d (patch)
treea287a2320047ee6fb3f5a73ba5ccf4011b7fbbe8 /tests/ln
parentbf43e9b11eb20105c8ac31f581649465a105f88a (diff)
downloadcoreutils-51ca1e585c3d14a1755d4ee991150b1de7f6c07d.tar.xz
Fix a typo: s/||/&&/.
Diffstat (limited to 'tests/ln')
-rwxr-xr-xtests/ln/misc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ln/misc b/tests/ln/misc
index 1028fd47c..d4d7fbfaf 100755
--- a/tests/ln/misc
+++ b/tests/ln/misc
@@ -50,7 +50,7 @@ ln -s $t $t 2> /dev/null && fail=1
rm $t
# Make sure -sf fails when src and dest are the same
-touch $t && framework_failure=1
+touch $t || framework_failure=1
ln -sf $t $t 2> /dev/null && fail=1
rm $t
@@ -110,7 +110,7 @@ if test $link_follows_symlink = no; then
ln -s /no-such-dir || fail=1
ln no-such-dir hard-to-dangle > /dev/null 2>&1 || fail=1
fi
-rm -rf a symlink hard-to-sym
+rm -rf a symlink hard-to-sym hard-to-dangle
# ===================================================
cd ..