diff options
author | Phil Pennock <pdp@exim.org> | 2011-01-21 06:10:35 -0500 |
---|---|---|
committer | Phil Pennock <pdp@exim.org> | 2011-01-21 06:10:35 -0500 |
commit | 33191679e1a86ba6d9c38a74d0795d00c300f2c5 (patch) | |
tree | 772265538dce2e2e3dd25ff90149c596226373fe /test/runtest | |
parent | 35110e7035925a8f2bb93c64151da7e0afaf85cf (diff) |
Tests compat. setgid failure / dropped_privilege
If we've *dropped* privilege, it's okay to not abort if setgid fails.
Document some of what's now needed for the test suite.
Adjust the test suide for better post-4.73 compat.
Diffstat (limited to 'test/runtest')
-rwxr-xr-x | test/runtest | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/runtest b/test/runtest index d65d0b530..d70b98c64 100755 --- a/test/runtest +++ b/test/runtest @@ -2003,7 +2003,7 @@ if ($parm_exim eq "") # Find what is in the binary # ################################################## -open(EXIMINFO, "$parm_exim -C confs/0000 -DDIR=$parm_cwd " . +open(EXIMINFO, "$parm_exim -C $parm_cwd/confs/0000 -DDIR=$parm_cwd " . "-bP exim_user exim_group|") || die "** Cannot run $parm_exim: $!\n"; while(<EXIMINFO>) @@ -2025,7 +2025,7 @@ if (defined $parm_eximgroup) else { $parm_exim_gid = getgrnam($parm_eximgroup); } } -open(EXIMINFO, "$parm_exim -bV -C confs/0000 -DDIR=$parm_cwd |") || +open(EXIMINFO, "$parm_exim -bV -C $parm_cwd/confs/0000 -DDIR=$parm_cwd |") || die "** Cannot run $parm_exim: $!\n"; print "-" x 78, "\n"; @@ -2052,7 +2052,7 @@ while (<EXIMINFO>) %parm_support = @temp; } - elsif (/^Lookups: (.*)/) + elsif (/^Lookups \(built-in\): (.*)/) { print; @temp = split /(\s+)/, $1; |