summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2014-03-26 13:36:16 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2014-03-26 08:23:23 -0700
commit2d8ae88a228ac82c725f22aaee24accde8a12dcf (patch)
treef1d384d80a79592f089cb10d7d68001aaaa52945 /tests
parent5de5d8a5c0aa864bbf79a299cf5b9d5a1547941a (diff)
downloadcoreutils-2d8ae88a228ac82c725f22aaee24accde8a12dcf.tar.xz
mv: fix issues with previous prompt adjustments
* src/copy.c (overwrite_ok): Fix the gettext calls so that the second string is tagged for translation. Display the correct "replace ..." prompt when in move_mode. * tests/mv/i-3.sh: Display the output on failure to ease debugging.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/mv/i-3.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mv/i-3.sh b/tests/mv/i-3.sh
index 690af7385..8c58d5d34 100755
--- a/tests/mv/i-3.sh
+++ b/tests/mv/i-3.sh
@@ -52,7 +52,7 @@ check_overwrite_prompt()
}
# Wait for up to 12.7 seconds for the expected prompt.
-retry_delay_ check_overwrite_prompt .1 7 || fail=1
+retry_delay_ check_overwrite_prompt .1 7 || { fail=1; cat out; }
kill $pid