summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-10-06 10:43:07 +0000
committerJim Meyering <jim@meyering.net>2001-10-06 10:43:07 +0000
commit7bdd841fd252a6a6284f0fed51f6645a757aa3c6 (patch)
tree00d71194e5d19f8bdaa39fd764c14c226afd3bdb
parent6d64ac84426b7597fad0d8cd467863ab5d338be0 (diff)
downloadcoreutils-7bdd841fd252a6a6284f0fed51f6645a757aa3c6.tar.xz
Redirect stderr.
-rwxr-xr-xtests/mv/childproof2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mv/childproof b/tests/mv/childproof
index e268f34e6..bdb2215c0 100755
--- a/tests/mv/childproof
+++ b/tests/mv/childproof
@@ -65,7 +65,7 @@ test -f c/f || fail=1
test -f c/g || fail=1
touch a/f b/f b/g
-mv a/f b/f b/g c
+mv a/f b/f b/g c 2> /dev/null && fail=1
test -f a/f && fail=1 # a/f should have been moved
test -f b/f || fail=1 # b/f should remain
test -f b/g && fail=1 # b/g should have been moved