Skip Menu |

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 17969
Status: resolved
Priority: 0/
Queue: Test-Harness

People
Owner: andy [...] hexten.net
Requestors: David [...] Vindicia.Com
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 2.48
Fixed in: (no value)



Subject: No header for failed tests when STDOUT redirected.
Simple to replicate. When calling runtest() in a script that has STDERR and STDOUT redirected to file the header isn't printed before the output of the stats for failed tests. Perl 5.8.7, disribution rPath linux. This is a bit of a problem as putting a print for $fmt_top before: die "Failed $tot->{bad}/$tot->{tests} test scripts, $pct% okay.". "$subpct\n"; in _show_results() gives a second header when STDOUT is not redirected.
All of the I/O is revised in 2.99 so this should now be fixed.