summaryrefslogtreecommitdiff
path: root/test/runtest
diff options
context:
space:
mode:
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2016-11-23 19:51:59 +0100
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2016-11-23 19:51:59 +0100
commit0e1cd284c9c37e912d1a4ba73eb3c8ea4851e166 (patch)
tree0b820e2e087d370f49512982327091a6142304d7 /test/runtest
parent109ad60f4d0f4cf43d9dec72fc6eeb3c20d0f062 (diff)
Testsuite: more diag info if initial Exim startup fails
Diffstat (limited to 'test/runtest')
-rwxr-xr-xtest/runtest5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/runtest b/test/runtest
index d9500cb5f..4483ec95b 100755
--- a/test/runtest
+++ b/test/runtest
@@ -2612,9 +2612,12 @@ close(IN);
close(OUT);
print("Probing with config file: $parm_cwd/test-config\n");
+
my $eximinfo = "$parm_exim -d -C $parm_cwd/test-config -DDIR=$parm_cwd -bP exim_user exim_group";
chomp(my @eximinfo = `$eximinfo 2>&1`);
-die "$0: got $? from $eximinfo\n" if $?;
+die "$0: Can't run $eximinfo\n" if $? == -1;
+
+warn 'Got ' . $?>>8 . " from $eximinfo\n" if $?;
foreach (@eximinfo)
{
if (my ($version) = /^Exim version (\S+)/) {