From cef04ba64f872c8d408dfcb952839139aee9c4b1 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 18 Apr 2007 12:50:55 +0000 Subject: r22335: output the error code metze (This used to be commit cf3a176615943fd552bd153a1760cbb21ab75db2) --- source4/script/tests/selftest.pl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4') 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"; } -- cgit