summaryrefslogtreecommitdiff
path: root/tests/mv/hard-3
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-03-01 21:28:39 +0000
committerJim Meyering <jim@meyering.net>2003-03-01 21:28:39 +0000
commitb1e5afbaefaccb12b9bc55f54a6adbc2afdfb65f (patch)
tree7cc4322f056f3835f4f8d59d6e4df308fa2621d8 /tests/mv/hard-3
parentaa1ae08fc54d81f24a38edef4ecf7d65665a6d91 (diff)
downloadcoreutils-b1e5afbaefaccb12b9bc55f54a6adbc2afdfb65f.tar.xz
fix tpyo
Diffstat (limited to 'tests/mv/hard-3')
-rwxr-xr-xtests/mv/hard-34
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mv/hard-3 b/tests/mv/hard-3
index 7af1b6ab4..6fdf0ffaf 100755
--- a/tests/mv/hard-3
+++ b/tests/mv/hard-3
@@ -34,7 +34,7 @@ fail=0
# ======================================
# This must fail -- because x/b cannot be unlinked.
-cp --preserve=link --parents a x/b c dst && fail=1
+cp --preserve=link --parents a x/b c dst 2> /dev/null && fail=1
# Source files must remain.
test -f a || fail=1
@@ -54,6 +54,6 @@ test $ia = $ic || fail=1
# The i-node number of x/b must be different.
ib=`ls -i x/b|sed 's/ .*//'`
-test $ia = $ib || fail=1
+test $ia = $ib && fail=1
(exit $fail); exit $fail