X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Faggregate%2Funit_core_script_fastcgi.t;fp=t%2Faggregate%2Funit_core_script_fastcgi.t;h=b5d3ea49e236e0b033bedfc8657d7468cd3b4caa;hb=e1d59dc47052af927345195b14f9163f6dffd591;hp=6ffee95d592f6b23f987ea7cfe7590206e5b7eef;hpb=ee1ea13fb9f1694f769e4bf41366178079e16c06;p=catagits%2FCatalyst-Runtime.git diff --git a/t/aggregate/unit_core_script_fastcgi.t b/t/aggregate/unit_core_script_fastcgi.t index 6ffee95..b5d3ea4 100644 --- a/t/aggregate/unit_core_script_fastcgi.t +++ b/t/aggregate/unit_core_script_fastcgi.t @@ -19,8 +19,8 @@ testOption( [ qw|-l /tmp/foo| ], ['/tmp/foo', opthash()] ); testOption( [ qw/-l 127.0.0.1:3000/ ], ['127.0.0.1:3000', opthash()] ); #daemonize -d --daemon -testOption( [ qw/-d/ ], [undef, opthash()] ); -testOption( [ qw/--daemon/ ], [undef, opthash()] ); +testOption( [ qw/-d/ ], [undef, opthash(detach => 1)] ); +testOption( [ qw/--daemon/ ], [undef, opthash(detach => 1)] ); # pidfile -pidfile -p --pid --pidfile testOption( [ qw/--pidfile cat.pid/ ], [undef, opthash(pidfile => 'cat.pid')] ); @@ -39,10 +39,6 @@ testOption( [ qw/-e/ ], [undef, opthash(keep_stderr => 1)] ); testOption( [ qw/--nproc 6/ ], [undef, opthash(nproc => 6)] ); testOption( [ qw/--n 6/ ], [undef, opthash(nproc => 6)] ); -# detach -testOption( [ qw/--detach/ ], [undef, opthash(detach => 1)] ); -testOption( [ qw/--det/ ], [undef, opthash(detach => 1)] ); - done_testing; sub testOption {