From: Jim Meyering Date: Sun, 3 Jul 2005 16:58:48 +0000 (+0000) Subject: Adjust for new diagnostic. X-Git-Tag: CPPI-1_12~336 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3e7b6a68b55acef8734c682522aecbaaa3b0c900;p=thirdparty%2Fcoreutils.git Adjust for new diagnostic. --- diff --git a/tests/mv/reply-no b/tests/mv/reply-no index 337545f75c..7ac7f996c0 100755 --- a/tests/mv/reply-no +++ b/tests/mv/reply-no @@ -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 < 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