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).
pull/7/head
Kevin Grittner 10 years ago
parent 46bd95e2a8
commit adb495049f
  1. 1
      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;
}

Loading…
Cancel
Save