diff options
author | Eric Wong <e@80x24.org> | 2023-11-26 02:11:01 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-11-26 19:34:54 +0000 |
commit | b3a13a6f051202caaa4b71cc8dc3510544b8d05c (patch) | |
tree | 94441ca27d43afccb21de661d26a5e850b8783dd /lib/PublicInbox | |
parent | 66375be4fbab78ce5e3738593f6615e635e4cbc1 (diff) | |
download | public-inbox-b3a13a6f051202caaa4b71cc8dc3510544b8d05c.tar.gz |
This ensures our tests actually test the -j0 and -j1 cases properly.
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r-- | lib/PublicInbox/XapClient.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/XapClient.pm b/lib/PublicInbox/XapClient.pm index 7737e30d..1f9ddccc 100644 --- a/lib/PublicInbox/XapClient.pm +++ b/lib/PublicInbox/XapClient.pm @@ -40,6 +40,7 @@ sub start_helper { $cmd = [$^X, ($^W ? ('-w') : ()), "-M$cls", '-e', $cls.'::start(@ARGV)', '--' ]; } + push @$cmd, @argv; my $pid = spawn($cmd, $env, { 0 => $in }); my $self = bless { io => $sock, impl => $cls }, __PACKAGE__; PublicInbox::IO::attach_pid($sock, $pid); |