diff options
Diffstat (limited to 'tests/mv/diag')
-rwxr-xr-x | tests/mv/diag | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/mv/diag b/tests/mv/diag index c3063793a..c8d08925d 100755 --- a/tests/mv/diag +++ b/tests/mv/diag @@ -31,7 +31,7 @@ fi # Too few args. This first one did fail, but with an incorrect diagnostic # until fileutils-4.0u. -mv --target=d >> out 2>&1 && fail=1 +mv --target=. >> out 2>&1 && fail=1 mv no-file >> out 2>&1 && fail=1 # Target is not a directory. @@ -41,12 +41,10 @@ mv --target=f2 f1 >> out 2>&1 && fail=1 cat > exp <<\EOF mv: missing file operand Try `mv --help' for more information. -mv: missing file operand after `no-file' -Try `mv --help' for more information. -mv: when moving multiple files, last argument must be a directory -Try `mv --help' for more information. -mv: specified target, `f2' is not a directory +mv: missing destination file operand after `no-file' Try `mv --help' for more information. +mv: target `f1' is not a directory +mv: target `f2' is not a directory EOF cmp out exp || fail=1 |