projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fixed problem when using Test::Aggregate and forking
[catagits/Catalyst-Runtime.git]
/
t
/
aggregate
/
unit_core_script_server.t
diff --git
a/t/aggregate/unit_core_script_server.t
b/t/aggregate/unit_core_script_server.t
index
1717236
..
e31c897
100644
(file)
--- 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;
}