From: John Napiorkowski Date: Wed, 27 Jul 2011 18:13:16 +0000 (-0400) Subject: fixed problem when using Test::Aggregate and forking X-Git-Tag: 5.89003~10 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=71782f3efc0ecb7317e738fba387da6b8c7ea85d fixed problem when using Test::Aggregate and forking --- diff --git a/t/aggregate/unit_core_script_server.t b/t/aggregate/unit_core_script_server.t index 1717236..e31c897 100644 --- a/t/aggregate/unit_core_script_server.t +++ b/t/aggregate/unit_core_script_server.t @@ -133,6 +133,10 @@ sub testBackgroundOptionWithFork { ## First, make sure we can get an app my $app = _build_testapp($argstring); + + ## Sorry, don't really fork since this cause trouble in Test::Aggregate + $app->meta->add_around_method_modifier('daemon_fork', sub { return; }); + try { $app->run; }