diff options
author | Eric Wong <e@80x24.org> | 2016-03-05 22:42:12 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-03-05 22:42:35 +0000 |
commit | bc5f141e8e4e4df3813dd123cf5a76355e65be17 (patch) | |
tree | 581779bc121993bab0cf16b0b931e8fe45f0e9f1 /t/httpd-unix.t | |
parent | d3ded72481e6435fc67f2d1cb9ae9cf7ffe8d753 (diff) | |
download | public-inbox-bc5f141e8e4e4df3813dd123cf5a76355e65be17.tar.gz |
Non-socket activation users will want to install Net::Server for daemonization, pid file writing, and user/group switching.
Diffstat (limited to 't/httpd-unix.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; |