about summary refs log tree commit homepage
path: root/t/v2mirror.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-11-04 03:01:37 +0000
committerEric Wong <e@80x24.org>2019-11-08 20:23:53 +0000
commitad221e9b2852f6c57ec1692dafa786de60621bb6 (patch)
tree549efcbbe77a38cddaaec45029e99d8f6d45fc5f /t/v2mirror.t
parent1709921529d4024e241ec64b86a5d408333f667e (diff)
downloadpublic-inbox-ad221e9b2852f6c57ec1692dafa786de60621bb6.tar.gz
And explicitly test for respawning in t/httpd-corner.t

There's no need to have an extra entries in the process table
for most tests we run, since that's not what we're testing.
Diffstat (limited to 't/v2mirror.t')
-rw-r--r--t/v2mirror.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/v2mirror.t b/t/v2mirror.t
index a097a7f3..f826775c 100644
--- a/t/v2mirror.t
+++ b/t/v2mirror.t
@@ -66,7 +66,8 @@ END { kill 'TERM', $pid if defined $pid };
 $! = 0;
 $sock = tcp_server();
 ok($sock, 'sock created');
-my $cmd = [ "$script-httpd", "--stdout=$tmpdir/out", "--stderr=$tmpdir/err" ];
+my $httpd = "$script-httpd";
+my $cmd = [ $httpd, '-W0', "--stdout=$tmpdir/out", "--stderr=$tmpdir/err" ];
 ok(defined($pid = spawn_listener(undef, $cmd, [ $sock ])),
         'spawned httpd process successfully');
 my ($host, $port) = ($sock->sockhost, $sock->sockport);