X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2Fscript%2Ftestapp_server.pl;h=31605860c7d9caa1f7b856407b7f571fd236c75b;hb=29150588559a88acff99d5486408d2966f0b856d;hp=701d39f046733cd8ed9d8cbd489db663462848d7;hpb=1658508350f43b56a125c3d276b7af0ad7d9b8e8;p=catagits%2FCatalyst-Authentication-Store-Htpasswd.git diff --git a/t/lib/script/testapp_server.pl b/t/lib/script/testapp_server.pl index 701d39f..3160586 100644 --- a/t/lib/script/testapp_server.pl +++ b/t/lib/script/testapp_server.pl @@ -1,10 +1,10 @@ #!/usr/bin/env perl -BEGIN { +BEGIN { $ENV{CATALYST_ENGINE} ||= 'HTTP'; $ENV{CATALYST_SCRIPT_GEN} = 31; require Catalyst::Engine::HTTP; -} +} use strict; use warnings; @@ -40,7 +40,7 @@ GetOptions( 'restartregex|rr=s' => \$restart_regex, 'restartdirectory=s' => \$restart_directory, 'daemon' => \$background, - 'pidfile=s' => \$pidfile, + 'pidfile=s' => \$pidfile, ); pod2usage(1) if $help; @@ -65,7 +65,7 @@ TestApp->run( $port, $host, { restart_regex => qr/$restart_regex/, restart_directory => $restart_directory, background => $background, - pidfile => $pidfile, + pidfile => $pidfile, } ); 1;