]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Adjust for new diagnostic.
authorJim Meyering <jim@meyering.net>
Sun, 3 Jul 2005 16:58:48 +0000 (16:58 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 3 Jul 2005 16:58:48 +0000 (16:58 +0000)
tests/mv/reply-no

index 337545f75cd9771d8ec57cdc4d976856e95f70cd..7ac7f996c08154693e1f220e00394a7515ac46c5 100755 (executable)
@@ -29,9 +29,11 @@ mv --interactive --reply=no a b > out 2>&1 || fail=1
 test -f a || fail=1
 test -f b || fail=1
 
-# Expect no output.
-touch exp
-cmp out exp || fail=1
-test $fail = 1 && diff out exp 2> /dev/null
+cat <<EOF > exp_err
+mv: the --reply option is deprecated; use -i or -f instead
+EOF
+
+cmp out exp_err || fail=1
+test $fail = 1 && diff out exp_err 2> /dev/null
 
 (exit $fail); exit $fail