From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id E99081F4C0 for ; Thu, 10 Oct 2019 18:55:32 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH] t/git-http-backend: disable worker processes Date: Thu, 10 Oct 2019 18:55:32 +0000 Message-Id: <20191010185532.27112-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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'); }