about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-11-26 02:11:00 +0000
committerEric Wong <e@80x24.org>2023-11-26 19:34:54 +0000
commit66375be4fbab78ce5e3738593f6615e635e4cbc1 (patch)
tree94018a69e9594b9923e44552708291f081c5d54f /t
parenta5209404e43d3bb58edca002255bb665183509fa (diff)
downloadpublic-inbox-66375be4fbab78ce5e3738593f6615e635e4cbc1.tar.gz
As with our popen_* uses, we can simplify callers by using
attach_pid to handle automatic reaping upon close.
Diffstat (limited to 't')
-rw-r--r--t/xap_helper.t3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/xap_helper.t b/t/xap_helper.t
index 9e0b234d..02e5ec7d 100644
--- a/t/xap_helper.t
+++ b/t/xap_helper.t
@@ -173,8 +173,7 @@ my @id2root;
 my $ar;
 for my $n (@NO_CXX) {
         local $ENV{PI_NO_CXX} = $n;
-        my ($xhc, $pid) = PublicInbox::XapClient::start_helper('-j0');
-        $ar = PublicInbox::AutoReap->new($pid);
+        my $xhc = PublicInbox::XapClient::start_helper('-j0');
         pipe(my $err_r, my $err_w);
 
         # git patch-id --stable <t/data/0001.patch | awk '{print $1}'