summaryrefslogtreecommitdiff
path: root/source4/selftest/output
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@sernet.de>2008-03-17 15:17:19 +0100
committerStefan Metzmacher <metze@samba.org>2008-03-17 15:50:49 +0100
commit0de47f6b577fdb1e93395b56960951b32cca48c0 (patch)
tree112d7a2b0f49185c32f248aeb6bd12daab4555fc /source4/selftest/output
parent3e8124bc66503f1531ace71b64262aa2c26c3800 (diff)
downloadsamba-0de47f6b577fdb1e93395b56960951b32cca48c0.tar.gz
samba-0de47f6b577fdb1e93395b56960951b32cca48c0.tar.bz2
samba-0de47f6b577fdb1e93395b56960951b32cca48c0.zip
selftest: handle progress output in verbose mode
metze (This used to be commit 9196213c49532ac60349ff55e66430b7c80b09c2)
Diffstat (limited to 'source4/selftest/output')
-rw-r--r--source4/selftest/output/plain.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/selftest/output/plain.pm b/source4/selftest/output/plain.pm
index e491a999ab..25ff74792e 100644
--- a/source4/selftest/output/plain.pm
+++ b/source4/selftest/output/plain.pm
@@ -7,8 +7,6 @@ use Exporter;
use FindBin qw($RealBin);
use lib "$RealBin/..";
-use Subunit qw(parse_results);
-
use strict;
sub new($$$$$$$) {
@@ -62,7 +60,9 @@ sub output_msg($$)
my ($self, $output) = @_;
if ($self->{verbose}) {
+ require FileHandle;
print $output;
+ STDOUT->flush();
} else {
$self->{test_output}->{$self->{NAME}} .= $output;
}