summaryrefslogtreecommitdiffstats
path: root/source4/script/tests/selftest.pl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/script/tests/selftest.pl')
-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 d486c43c0b6..d513147f0ef 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";
}