diff options
-rw-r--r-- | t/httpd-unix.t | 1 | ||||
-rw-r--r-- | t/nntpd.t | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/t/httpd-unix.t b/t/httpd-unix.t index d0c70a72..2c918281 100644 --- a/t/httpd-unix.t +++ b/t/httpd-unix.t @@ -24,6 +24,7 @@ END { kill 'TERM', $pid if defined $pid }; my $spawn_httpd = sub { my (@args) = @_; + push @args, '-W0'; $pid = fork; if ($pid == 0) { exec $httpd, @args, "--stdout=$out", "--stderr=$err", $psgi; @@ -90,7 +90,7 @@ EOF } ok($sock, 'sock created'); - my $cmd = [ $nntpd, "--stdout=$out", "--stderr=$err" ]; + my $cmd = [ $nntpd, '-W0', "--stdout=$out", "--stderr=$err" ]; $pid = spawn_listener(undef, $cmd, [ $sock ]); ok(defined $pid, 'forked nntpd process successfully'); my $host_port = $sock->sockhost . ':' . $sock->sockport; |