From: Jeremy Harris Date: Sat, 6 Feb 2016 16:24:37 +0000 (+0000) Subject: Testsuite: log some stderr output on bad exit-code in --CONTINUE mode X-Git-Tag: exim-4_87_RC4~14 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d1cebc7fe815c47a5e619d5de43bbf19707760ed;p=exim.git Testsuite: log some stderr output on bad exit-code in --CONTINUE mode --- diff --git a/test/runtest b/test/runtest index b000dbe42..d9aa97fa5 100755 --- a/test/runtest +++ b/test/runtest @@ -3767,7 +3767,15 @@ $0 = "[runtest $testno]"; $_ = $force_continue ? "c" : ; tests_exit(1) if /^q?$/i; log_failure($log_failed_filename, $testno, "exit code unexpected") if (/^c$/i && $force_continue); - print "... continue forced\n" if $force_continue; + if ($force_continue) + { + print "stderr tail:\n"; + print "===================\n"; + system("tail -20 test-stderr"); + print "===================\n"; + print "... continue forced\n"; + } + last if /^[rc]$/i; if (/^e$/i) {