Author: metze Date: 2007-04-18 12:50:55 +0000 (Wed, 18 Apr 2007) New Revision: 22335
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22335 Log: output the error code metze Modified: branches/SAMBA_4_0/source/script/tests/selftest.pl Changeset: Modified: branches/SAMBA_4_0/source/script/tests/selftest.pl =================================================================== --- branches/SAMBA_4_0/source/script/tests/selftest.pl 2007-04-18 12:49:05 UTC (rev 22334) +++ branches/SAMBA_4_0/source/script/tests/selftest.pl 2007-04-18 12:50:55 UTC (rev 22335) @@ -262,6 +262,10 @@ { 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"; }