summaryrefslogtreecommitdiff
path: root/test/runtest
diff options
context:
space:
mode:
authorTodd Lyons <tlyons@exim.org>2013-10-18 11:49:57 -0700
committerTodd Lyons <tlyons@exim.org>2013-10-18 11:49:57 -0700
commitefede11283a5825d0c6d7d200debf1e05b1cca64 (patch)
tree202b477e8012878523eeda15315ccc0ee97c1a93 /test/runtest
parent54e3e5b64c9fa8b6f3628e200d63b028b97f4526 (diff)
Adjust runtest -CONTINUE to work everywhere
Diffstat (limited to 'test/runtest')
-rwxr-xr-xtest/runtest4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/runtest b/test/runtest
index 6623d3b4b..27fe37199 100755
--- a/test/runtest
+++ b/test/runtest
@@ -1083,7 +1083,7 @@ if (! -e $sf)
for (;;)
{
print "Continue, Show, or Quit? [Q] ";
- $_ = <T>;
+ $_ = $force_continue ? "c" : <T>;
tests_exit(1) if /^q?$/i;
log_failure($log_failed_filename, $testno, $rf) if (/^c$/i && $force_continue);
return 0 if /^c$/i;
@@ -3252,7 +3252,7 @@ closedir(DIR);
open(T, "/dev/tty") || tests_exit(-1, "Failed to open /dev/tty: $!");
print "\nPress RETURN to run the tests: ";
-$_ = <T>;
+$_ = $force_continue ? "c" : <T>;
print "\n";
$lasttestdir = "";