From 826a69a8c5c46278c10f1f9670edc4b953f3f88f Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 13 Sep 2019 08:57:02 +0000 Subject: [PATCH] t/git-http-backend: disable worker processes 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. --- t/git-http-backend.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/git-http-backend.t b/t/git-http-backend.t index 1d9bb9f3..c2a04653 100644 --- a/t/git-http-backend.t +++ b/t/git-http-backend.t @@ -44,7 +44,7 @@ my $get_maxrss = sub { { 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'); } -- 2.44.0