summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/script/tests/selftest.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/script/tests/selftest.pl b/source4/script/tests/selftest.pl
index d486c43c0b..d513147f0e 100755
--- a/source4/script/tests/selftest.pl
+++ b/source4/script/tests/selftest.pl
@@ -262,6 +262,10 @@ sub plain_end_msg($$$)
{
my ($state, $expected_ret, $ret) = @_;
+ if ($ret != $expected_ret) {
+ plain_output_msg($state, "ERROR: $ret\n");
+ }
+
if ($ret != $expected_ret and ($opt_immediate or $opt_one) and not $opt_verbose) {
print $test_output->{$state->{NAME}}."\n";
}