summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-06-12 17:53:46 +0200
committerJelmer Vernooij <jelmer@samba.org>2009-06-12 17:54:47 +0200
commit89aed2771c227192652bd4e28cffd7094f34e1db (patch)
tree7d49e3ee4278a3bd2843e2ce47a105f997867b20
parent4bef8acc47a5cc24f24eaac5db8954abe89862d8 (diff)
downloadsamba-89aed2771c227192652bd4e28cffd7094f34e1db.tar.gz
samba-89aed2771c227192652bd4e28cffd7094f34e1db.tar.xz
samba-89aed2771c227192652bd4e28cffd7094f34e1db.zip
subunit: non-zero exit code if one or more testsuites failed.
-rwxr-xr-xselftest/filter-subunit.pl4
1 files changed, 1 insertions, 3 deletions
diff --git a/selftest/filter-subunit.pl b/selftest/filter-subunit.pl
index 5a2e5e38ef0..9ebc67778f4 100755
--- a/selftest/filter-subunit.pl
+++ b/selftest/filter-subunit.pl
@@ -94,6 +94,4 @@ my $statistics = {
my $msg_ops = new Subunit::Filter($opt_prefix, \@expected_failures,
$opt_strip_ok_output);
-parse_results($msg_ops, $statistics, *STDIN);
-
-0;
+exit(parse_results($msg_ops, $statistics, *STDIN));