diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-03-26 15:44:59 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2015-03-13 10:53:11 -0600 |
commit | 983c6181cb4e024c02778ae2785bdedc92a375db (patch) | |
tree | 4b20630b5939b177493c383ca142cc8acfbad7a9 /t/TEST | |
parent | 67e8c1a43c154149e6a202cc4596586cdfcbda6b (diff) | |
download | perl-983c6181cb4e024c02778ae2785bdedc92a375db.tar.gz |
t/TEST: Avoid SIGPIPEs on os390
This works around a problem with z/OS where if there are unread lines
from a file descriptor using this, a SIGPIPE error is raised.
Diffstat (limited to 't/TEST')
-rwxr-xr-x | t/TEST | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -665,7 +665,10 @@ EOT } } } + my @junk = <$results>; # dump remaining output to prevent SIGPIPE + # (so far happens only on os390) close $results; + undef @junk; if (not defined $failure) { $failure = 'FAILED--no leader found' unless $seen_leader; |