LMPX.COM |
Home | Linux | Mysql | PHP | XML | ||
|
|
|||
From: Bram Date: Fri Aug 8 11:43:49 2008 Subject: [PATCH] Broken pipe in smokecurrent.log
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.)
Attachment: [text/x-patch] patch_broken_pipe
| Navigate in group perl.daily-build at sever nntp.perl.org | |
| Previous | Next |
| © No Copyright You are free to use Anything |
Site Maintained by PHP Developer
Powered By PHP Consultants |