projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46bd95e
)
Flush to show results of TestLib.pm (TAP) test as we go.
author
Kevin Grittner
<kgrittn@postgresql.org>
Tue, 1 Sep 2015 21:12:22 +0000
(16:12 -0500)
committer
Kevin Grittner
<kgrittn@postgresql.org>
Tue, 1 Sep 2015 21:12:22 +0000
(16:12 -0500)
It appears that some attempt was made to do this using autocommit,
but it wasn't effective (at least on Ubuntu 14.04).
src/test/perl/SimpleTee.pm
patch
|
blob
|
blame
|
history
diff --git
a/src/test/perl/SimpleTee.pm
b/src/test/perl/SimpleTee.pm
index 8d31a4013c8786e2ce59a765c9d2d0ae2c96251b..5da82d0f85d3d2b117b03063baebc5d303605458 100644
(file)
--- a/
src/test/perl/SimpleTee.pm
+++ b/
src/test/perl/SimpleTee.pm
@@
-20,6
+20,7
@@
sub PRINT {
my $ok = 1;
for my $fh (@$self) {
print $fh @_ or $ok = 0;
+ $fh->flush or $ok = 0;
}
return $ok;
}