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,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 A1F631F463; Fri, 13 Sep 2019 08:57:02 +0000 (UTC) Date: Fri, 13 Sep 2019 08:57:02 +0000 From: Eric Wong To: meta@public-inbox.org Subject: [RFC 2/1] t/git-http-backend: disable worker processes Message-ID: <20190913085702.5jqrld5d6xajpxks@dcvr> References: <20190913015043.17149-1-e@80x24.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190913015043.17149-1-e@80x24.org> List-Id: We want to ensure we run lsof(8) on the worker, and not the master, which doesn't serve requests. --- 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 d9b33bad..7d10c720 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'); }