summaryrefslogtreecommitdiffstats
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-04-18 12:50:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:51:05 -0500
commitcef04ba64f872c8d408dfcb952839139aee9c4b1 (patch)
tree8cb90e6d5121562e159ddf71b2bee6c8f4730323 /source4
parent249174cfc51427364336d0e1f04876bb1b93e14a (diff)
downloadsamba-cef04ba64f872c8d408dfcb952839139aee9c4b1.tar.gz
samba-cef04ba64f872c8d408dfcb952839139aee9c4b1.tar.xz
samba-cef04ba64f872c8d408dfcb952839139aee9c4b1.zip
r22335: output the error code
metze (This used to be commit cf3a176615943fd552bd153a1760cbb21ab75db2)
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 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";
}