X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Faggregate%2Funit_core_script_fastcgi.t;h=7201385bc392468e1daa0aa5ee09f880c257f245;hb=416771b3f7be55e0d19548350d6c8b9f4b5d950a;hp=ef3d00775d6b0d451471c11c5884cda2a60739ea;hpb=b17bc48c698f981642d6f31beaa6bd88f4b279ac;p=catagits%2FCatalyst-Runtime.git diff --git a/t/aggregate/unit_core_script_fastcgi.t b/t/aggregate/unit_core_script_fastcgi.t index ef3d007..7201385 100644 --- a/t/aggregate/unit_core_script_fastcgi.t +++ b/t/aggregate/unit_core_script_fastcgi.t @@ -39,6 +39,9 @@ testOption( [ qw/-e/ ], [undef, opthash(keep_stderr => 1)] ); testOption( [ qw/--nproc 6/ ], [undef, opthash(nproc => 6)] ); testOption( [ qw/--n 6/ ], [undef, opthash(nproc => 6)] ); +# proc_title +testOption( [ qw/--proc_title foo/ ], [undef, opthash(proc_title => 'foo')] ); + done_testing; sub testOption { @@ -59,11 +62,8 @@ sub testOption { # Returns the hash expected when no flags are passed sub opthash { return { - pidfile => undef, - keep_stderr => undef, - detach => undef, - nproc => undef, - manager => undef, + (map { ($_ => undef) } qw(pidfile keep_stderr detach nproc manager)), + proc_title => 'perl-fcgi-pm [TestAppToTestScripts]', @_, }; }