FAQ

[PATCH] Broken pipe in smokecurrent.log

Bram
Aug 8, 2008 at 5:44 pm
Minor fix in the collection of the harness output.

Without this patch smokecurrent.log contains:

pod/twice..........................................................ok
x2p/s2p............................................................ok
All tests successful.
make[2]: *** [_test_tty] Error 141
make[1]: *** [_test] Error 141
make: *** [test_harness] Broken pipe

error while running harness target 'test_harness': 2 at
/opt/perl/libs/local/share/perl/5.6.1/Test/Smoke.pm line 188

All tests successful.

Archived results...


With the patch:

pod/twice..........................................................ok
x2p/s2p............................................................ok
All tests successful.
Files=1530, Tests=200239, 513 wallclock secs (25.97 usr 3.67 sys +
269.20 cusr 18.60 csys = 317.44 CPU)
Result: PASS
make[2]: Leaving directory `/opt/perl/perl-5.10.x'
make[1]: Leaving directory `/opt/perl/perl-5.10.x'

All tests successful.

Archived results...


I believe this is related to:

#!/usr/bin/perl -wl
open FH, qq(echo "foo" ; echo "bar" |);
while (<FH>) {
last if m/foo/;
}
close FH or do { die "Error closing: $! & $?\n"; }'
__END__

Output: Error closing: & 13

(This was with perl-5.6.1, but note that this isn't reproduceable everywhere.)
reply

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post

1 user in discussion

Bram: 1 post