summaryrefslogtreecommitdiff
path: root/source4/selftest
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-04-16 00:04:11 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-04-16 00:04:11 +0200
commit4b4a56fb1e64b5d7734cdd784f48e07bd46e8452 (patch)
treee8637a27572ab8181f368b61870b75111d18fd86 /source4/selftest
parent8eb6d59a466cf7d9c79b1a271737873c8744ed16 (diff)
downloadsamba-4b4a56fb1e64b5d7734cdd784f48e07bd46e8452.tar.gz
samba-4b4a56fb1e64b5d7734cdd784f48e07bd46e8452.tar.bz2
samba-4b4a56fb1e64b5d7734cdd784f48e07bd46e8452.zip
Provide the right error count to formatters.
(This used to be commit f22602797fe841859c67558bb78e04c98b9e27e0)
Diffstat (limited to 'source4/selftest')
-rwxr-xr-xsource4/selftest/selftest.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/selftest/selftest.pl b/source4/selftest/selftest.pl
index 53bfcb12f2..d6cf8d3a00 100755
--- a/source4/selftest/selftest.pl
+++ b/source4/selftest/selftest.pl
@@ -239,9 +239,9 @@ sub run_testsuite($$$$$$)
$msg_ops->start_test([], $name);
unless (open(RESULT, "$cmd 2>&1|")) {
+ $statistics->{TESTS_ERROR}++;
$msg_ops->end_test([], $name, "error", 1, "Unable to run $cmd: $!");
$statistics->{SUITES_FAIL}++;
- $statistics->{TESTS_ERROR}++;
return 0;
}