diff options
author | Eric Wong <e@80x24.org> | 2023-12-01 02:07:02 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-12-01 21:12:12 +0000 |
commit | 203cae29ecacae348ba18447582ed7fd948aef61 (patch) | |
tree | 222282c45cfdecca406e3ea8f489ac6f05c747fc /t | |
parent | 6d465b955a9343a3023c0be9eb5d5fbbc72543d3 (diff) | |
download | public-inbox-203cae29ecacae348ba18447582ed7fd948aef61.tar.gz |
By ignoring SIGPIPE, we hit our own error path and emit an informative error message instead of dying abruptly and requiring somebody to run `echo $?' to see the child status from their shell.
Diffstat (limited to 't')
-rw-r--r-- | t/xap_helper.t | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/xap_helper.t b/t/xap_helper.t index 37679ae9..ec78998c 100644 --- a/t/xap_helper.t +++ b/t/xap_helper.t @@ -59,6 +59,7 @@ my $doreq = sub { $x; }; +local $SIG{PIPE} = 'IGNORE'; my $env = { PERL5LIB => join(':', @INC) }; my $test = sub { my (@cmd) = @_; |