diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-04-18 12:50:55 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:51:05 -0500 |
commit | cef04ba64f872c8d408dfcb952839139aee9c4b1 (patch) | |
tree | 8cb90e6d5121562e159ddf71b2bee6c8f4730323 /source4/script | |
parent | 249174cfc51427364336d0e1f04876bb1b93e14a (diff) | |
download | samba-cef04ba64f872c8d408dfcb952839139aee9c4b1.tar.gz samba-cef04ba64f872c8d408dfcb952839139aee9c4b1.tar.bz2 samba-cef04ba64f872c8d408dfcb952839139aee9c4b1.zip |
r22335: output the error code
metze
(This used to be commit cf3a176615943fd552bd153a1760cbb21ab75db2)
Diffstat (limited to 'source4/script')
-rwxr-xr-x | source4/script/tests/selftest.pl | 4 |
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"; } |