about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-09-13 08:57:02 +0000
committerEric Wong <e@80x24.org>2019-10-10 18:44:10 +0000
commit826a69a8c5c46278c10f1f9670edc4b953f3f88f (patch)
tree6a7e9ff23092ef6a592c711f58404df6c7ce4ce0 /t
parent8d3e3bd820f8177557281554470e9fbbc3a7487b (diff)
downloadpublic-inbox-826a69a8c5c46278c10f1f9670edc4b953f3f88f.tar.gz
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.
Diffstat (limited to 't')
-rw-r--r--t/git-http-backend.t2
1 files changed, 1 insertions, 1 deletions
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');
 }