Skip to content

Commit adb4950

Browse files
committed
Flush to show results of TestLib.pm (TAP) test as we go.
It appears that some attempt was made to do this using autocommit, but it wasn't effective (at least on Ubuntu 14.04).
1 parent 46bd95e commit adb4950

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/perl/SimpleTee.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ sub PRINT {
2020
my $ok = 1;
2121
for my $fh (@$self) {
2222
print $fh @_ or $ok = 0;
23+
$fh->flush or $ok = 0;
2324
}
2425
return $ok;
2526
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy