summaryrefslogtreecommitdiff
path: root/tests/mv
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-12-22 11:49:25 +0100
committerJim Meyering <meyering@redhat.com>2010-12-22 11:52:11 +0100
commit887d530e62f7495de3a8289d07bf11a76390555b (patch)
tree1d0d508a8da33fda4d4ed5a2d11d5edc9c712a75 /tests/mv
parent51f60a62372581fc7260f4c0eae52f06c39201ec (diff)
downloadcoreutils-887d530e62f7495de3a8289d07bf11a76390555b.tar.xz
maint: correct test-related comments
* tests/mv/i-3: Adjust comment to match just-changed code. Spotted by Pádraig Brady. * tests/init.cfg (retry_delay_): Correct spelling of function name in usage example.
Diffstat (limited to 'tests/mv')
-rwxr-xr-xtests/mv/i-34
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/mv/i-3 b/tests/mv/i-3
index 7b77273c9..d2fdf087e 100755
--- a/tests/mv/i-3
+++ b/tests/mv/i-3
@@ -39,7 +39,7 @@ test -r "$tty" 2>&1 \
mv f g < $tty > out 2>&1 & pid=$!
-# Wait up to 3.1s for the expected prompt
+# Test for the expected prompt; sleep upon non-match.
check_overwrite_prompt()
{
local delay="$1"
@@ -48,6 +48,8 @@ check_overwrite_prompt()
*) sleep $delay; return 1;;
esac
}
+
+# Wait for up to 12.7 seconds for the expected prompt.
retry_delay_ check_overwrite_prompt .1 7 || fail=1
kill $pid