diff options
Diffstat (limited to 't')
-rw-r--r-- | t/httpd-unix.t | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/t/httpd-unix.t b/t/httpd-unix.t index 580d14d2..b3368491 100644 --- a/t/httpd-unix.t +++ b/t/httpd-unix.t @@ -81,7 +81,11 @@ check_sock($unix); is($?, 0, 'existing httpd exited successfully'); ok(-S $unix, 'unix socket still exists'); } -{ + +SKIP: { + eval 'require Net::Server::Daemonize'; + skip('Net::Server missing for pid-file/daemonization test', 10) if $@; + # wait for daemonization $spawn_httpd->("-l$unix", '-D', '-P', "$tmpdir/pid"); my $kpid = $pid; |