diff options
author | Jim Meyering <jim@meyering.net> | 2000-02-03 16:46:16 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-02-03 16:46:16 +0000 |
commit | 47fe4e2b81d1eaeb07faf5bf5692d39a5e2239f9 (patch) | |
tree | 0d11a617d45213b5a677ab0cc6a74eed89a3a868 /tests/mv/dir-file | |
parent | afed58448d6e2c3ed94fd75bfbe5c6b1c6af59f5 (diff) | |
download | coreutils-47fe4e2b81d1eaeb07faf5bf5692d39a5e2239f9.tar.xz |
*** empty log message ***
Diffstat (limited to 'tests/mv/dir-file')
-rwxr-xr-x | tests/mv/dir-file | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/mv/dir-file b/tests/mv/dir-file index 2ed2b71b6..c51448a55 100755 --- a/tests/mv/dir-file +++ b/tests/mv/dir-file @@ -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 |