[exim-cvs] Adjust runtest -CONTINUE to work everywhere

Top Page
Delete this message
Reply to this message
Author: Exim Git Commits Mailing List
Date:  
To: exim-cvs
Subject: [exim-cvs] Adjust runtest -CONTINUE to work everywhere
Gitweb: http://git.exim.org/exim.git/commitdiff/efede11283a5825d0c6d7d200debf1e05b1cca64
Commit:     efede11283a5825d0c6d7d200debf1e05b1cca64
Parent:     54e3e5b64c9fa8b6f3628e200d63b028b97f4526
Author:     Todd Lyons <tlyons@???>
AuthorDate: Fri Oct 18 11:49:57 2013 -0700
Committer:  Todd Lyons <tlyons@???>
CommitDate: Fri Oct 18 11:49:57 2013 -0700


    Adjust runtest -CONTINUE to work everywhere
---
 test/runtest |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/test/runtest b/test/runtest
index 6623d3b..27fe371 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 = "";