projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
c96a2af
)
fixed problem when using Test::Aggregate and forking
John Napiorkowski [Wed, 27 Jul 2011 18:13:16 +0000 (14:13 -0400)]
t/aggregate/unit_core_script_server.t
patch
|
blob
|
blame
|
history
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;
}