diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/ln/misc | 4 |
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 .. |