diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-09-21 23:09:56 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-09-21 23:09:56 +0200 |
commit | afa850910ff7845b2c8b19fdcf6fbb703e42d2db (patch) | |
tree | 335c75957b7a58ac40f854c47ccabc6ef2c72f3e | |
parent | beee9debeab72ce172575be6a93f1fb712bb6026 (diff) | |
download | samba-afa850910ff7845b2c8b19fdcf6fbb703e42d2db.tar.gz samba-afa850910ff7845b2c8b19fdcf6fbb703e42d2db.tar.bz2 samba-afa850910ff7845b2c8b19fdcf6fbb703e42d2db.zip |
Avoid printing characters when in immediate mode.
-rw-r--r-- | source4/selftest/output/plain.pm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/source4/selftest/output/plain.pm b/source4/selftest/output/plain.pm index bad6505e93..4e1e290534 100644 --- a/source4/selftest/output/plain.pm +++ b/source4/selftest/output/plain.pm @@ -124,10 +124,12 @@ sub end_test($$$$$) unless ($unexpected) { $self->{test_output}->{$self->{NAME}} = ""; - if ($result eq "failure") { print "f"; } - elsif ($result eq "skip") { print "s"; } - elsif ($result eq "success") { print "."; } - else { print "?($result)"; } + if (not $self->{immediate}) { + if ($result eq "failure") { print "f"; } + elsif ($result eq "skip") { print "s"; } + elsif ($result eq "success") { print "."; } + else { print "?($result)"; } + } return; } |