This ensures our tests actually test the -j0 and -j1 cases properly. --- lib/PublicInbox/XapClient.pm | 1 + 1 file changed, 1 insertion(+)
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);