mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
Properly warn about exit codes that indicate success while tests claim
failure.
(This used to be commit 92873264d7
)
This commit is contained in:
parent
d3729a8efa
commit
8eb6d59a46
@ -81,6 +81,9 @@ sub end_testsuite($$$$$)
|
||||
my $out = "";
|
||||
|
||||
if ($unexpected) {
|
||||
if ($result eq "success" and not defined($reason)) {
|
||||
$reason = "Expected negative exit code, got positive exit code";
|
||||
}
|
||||
$self->output_msg("ERROR: $reason\n");
|
||||
push (@{$self->{suitesfailed}}, $name);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user