From 51ca1e585c3d14a1755d4ee991150b1de7f6c07d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 7 Nov 1999 11:46:20 +0000 Subject: Fix a typo: s/||/&&/. --- tests/ln/misc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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 .. -- cgit v1.2.3-70-g09d2