[exim-cvs] Test suite continue past unexpected client errors

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Exim Git Commits Mailing List
Data:  
Para: exim-cvs
Assunto: [exim-cvs] Test suite continue past unexpected client errors
Gitweb: http://git.exim.org/exim.git/commitdiff/8334b9b803393346e08706f7a5d435de510d3172
Commit:     8334b9b803393346e08706f7a5d435de510d3172
Parent:     74954688e4f61475b2451b2cb22045ab8e7f0150
Author:     Todd Lyons <tlyons@???>
AuthorDate: Thu Oct 23 12:27:41 2014 -0700
Committer:  Todd Lyons <tlyons@???>
CommitDate: Thu Oct 23 12:27:41 2014 -0700


    Test suite continue past unexpected client errors
---
 test/runtest |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/test/runtest b/test/runtest
index 421e0b3..166a701 100755
--- a/test/runtest
+++ b/test/runtest
@@ -2010,7 +2010,8 @@ elsif (/^([A-Z_]+=\S+\s+)?(\d+)?\s*(sudo\s+)?exim(_\S+)?\s+(.*)$/)
     for ($i = @msglist; $i > 0; $i--) { $args =~ s/\$msg$i/$msglist[$i-1]/g; }
     if ( $args =~ /\$msg\d/ )
       {
-      tests_exit(-1, "Not enough messages in spool, for test $testno line $lineno\n");
+      tests_exit(-1, "Not enough messages in spool, for test $testno line $lineno\n")
+        unless $force_continue;
       }
     }