We want to ensure we run lsof(8) on the worker (if needed),
and not the master, which doesn't serve requests.
This was originally on top of a test-only patch in
https://public-inbox.org/meta/
20190913015043.17149-1-e@80x24.org/
In any case, no point in spawning extra processes for this test.
{
ok($sock, 'sock created');
- my $cmd = [ $httpd, "--stdout=$out", "--stderr=$err", $psgi ];
+ my $cmd = [ $httpd, '-W0', "--stdout=$out", "--stderr=$err", $psgi ];
ok(defined($pid = spawn_listener(undef, $cmd, [$sock])),
'forked httpd process successfully');
}