diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-09-08 14:12:45 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:05:42 -0500 |
commit | 5def5048ca059b550a27f991a70365ecbc80f19d (patch) | |
tree | dc2e57f7d9d6350d7613489fb7cf07af47ede4d0 /source4/selftest | |
parent | 7a287e07043cf937e22f8051c1a324d8a30c53e1 (diff) | |
download | samba-5def5048ca059b550a27f991a70365ecbc80f19d.tar.gz samba-5def5048ca059b550a27f991a70365ecbc80f19d.tar.bz2 samba-5def5048ca059b550a27f991a70365ecbc80f19d.zip |
r25031: Use pointers to services rather than service numbers when possible.
(This used to be commit dde12060ea07ba34fd3f96594559696d52127e7c)
Diffstat (limited to 'source4/selftest')
-rw-r--r-- | source4/selftest/output/plain.pm | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/source4/selftest/output/plain.pm b/source4/selftest/output/plain.pm index bbf0f8f414..2cb510b7e8 100644 --- a/source4/selftest/output/plain.pm +++ b/source4/selftest/output/plain.pm @@ -77,9 +77,15 @@ sub start_test($$) my ($state, $testname) = @_; } -sub end_test($$$$$) +sub end_test($$$$$$) { - my ($state, $testname, $result, $unexpected, $reason) = @_; + my ($self, $state, $testname, $result, $unexpected, $reason) = @_; + + if ($unexpected and $self->{immediate} and not $self->{verbose}) { + print "$testname: $result [ $reason ]\n"; + print $self->{test_output}->{$state->{NAME}}."\n"; + } + $self->{test_output}->{$state->{NAME}} = ""; } sub summary($) |