summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}