From 3e7b6a68b55acef8734c682522aecbaaa3b0c900 Mon Sep 17 00:00:00 2001
From: Jim Meyering <jim@meyering.net>
Date: Sun, 3 Jul 2005 16:58:48 +0000
Subject: Adjust for new diagnostic.

---
 tests/mv/reply-no | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

(limited to 'tests')

diff --git a/tests/mv/reply-no b/tests/mv/reply-no
index 337545f75..7ac7f996c 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 <<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
-- 
cgit v1.2.3-70-g09d2