Added a --title parameter to fastcgi script, sets process title for FCGI::ProcManager
[catagits/Catalyst-Runtime.git] / t / aggregate / unit_core_script_fastcgi.t
index b5d3ea4..5f0b5dc 100644 (file)
@@ -39,6 +39,10 @@ testOption( [ qw/-e/ ], [undef, opthash(keep_stderr => 1)] );
 testOption( [ qw/--nproc 6/ ], [undef, opthash(nproc => 6)] );
 testOption( [ qw/--n 6/ ], [undef, opthash(nproc => 6)] );
 
+# title
+testOption( [ qw/--title foo/ ], [undef, opthash(title => 'foo')] );
+testOption( [ qw/-t foo/ ], [undef, opthash(title => 'foo')] );
+
 done_testing;
 
 sub testOption {
@@ -62,6 +66,7 @@ sub opthash {
         detach => undef,
         nproc => undef,
         manager => undef,
+        title => undef,
         @_,
     };
 }