git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3344df8
)
selftest: Fix exit code for format-subunit.pl.
author
Jelmer Vernooij
<jelmer@samba.org>
Thu, 11 Jun 2009 17:59:26 +0000
(19:59 +0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Thu, 11 Jun 2009 18:00:00 +0000
(20:00 +0200)
selftest/Subunit.pm
patch
|
blob
|
history
diff --git
a/selftest/Subunit.pm
b/selftest/Subunit.pm
index 9ca68f3db21c3b5b5569372453f9e64e1debfdd1..42d16e347125b0cb6a6f704d190df7ca3f9276ff 100644
(file)
--- a/
selftest/Subunit.pm
+++ b/
selftest/Subunit.pm
@@
-26,7
+26,6
@@
use strict;
sub parse_results($$$)
{
my ($msg_ops, $statistics, $fh) = @_;
- my $unexpected_ok = 0;
my $expected_fail = 0;
my $unexpected_fail = 0;
my $unexpected_err = 0;
@@
-114,10
+113,7
@@
sub parse_results($$$)
return 1 if $unexpected_err > 0;
return 1 if $unexpected_fail > 0;
- return 1 if $unexpected_ok > 0 and $expected_fail > 0;
- return 0 if $unexpected_ok > 0 and $expected_fail == 0;
- return 0 if $expected_fail > 0;
- return 1;
+ return 0;
}
sub start_test($)