]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Redirect stderr.
authorJim Meyering <jim@meyering.net>
Sat, 6 Oct 2001 10:43:07 +0000 (10:43 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 6 Oct 2001 10:43:07 +0000 (10:43 +0000)
tests/mv/childproof

index e268f34e632e1b046fbce277927ec7f6395ad10e..bdb2215c02cca7dd0c2b31d9f73ea2f1c4e4e96d 100755 (executable)
@@ -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