about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-12-01 02:07:02 +0000
committerEric Wong <e@80x24.org>2023-12-01 21:12:12 +0000
commit203cae29ecacae348ba18447582ed7fd948aef61 (patch)
tree222282c45cfdecca406e3ea8f489ac6f05c747fc /t
parent6d465b955a9343a3023c0be9eb5d5fbbc72543d3 (diff)
downloadpublic-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.t1
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) = @_;