]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Thu, 3 Feb 2000 16:46:16 +0000 (16:46 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 3 Feb 2000 16:46:16 +0000 (16:46 +0000)
tests/mv/dir-file

index 2ed2b71b64b4ce4b13d80ead5610aa4a9c86dd48..c51448a550a0ecbbfd886073ac3da067d097dc53 100755 (executable)
@@ -21,8 +21,10 @@ if test $framework_failure = 1; then
   exit 1
 fi
 
+fail=0
+
 # These should both fail, but until fileutils-4.0q only the second one did.
-mv dir file && fail=1
-mv file dir && fail=1
+mv dir file > /dev/null 2>&1 && fail=1
+mv file dir > /dev/null 2>&1 && fail=1
 
 exit $fail