projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
c79bd3b
)
Fix server test to work in make test
Tomas Doran [Thu, 28 Jul 2011 18:52:54 +0000 (19:52 +0100)]
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
01b2dd2
..
7cd6fb4
100644
(file)
--- a/
t/aggregate/unit_core_script_server.t
+++ b/
t/aggregate/unit_core_script_server.t
@@
-5,11
+5,13
@@
use FindBin qw/$Bin/;
use lib "$Bin/../lib";
use File::Temp qw/ tempdir /;
+use Cwd;
use Test::More;
use Try::Tiny;
use Catalyst::Script::Server;
+my $cwd = getcwd;
chdir(tempdir(CLEANUP => 1));
my $testopts;
@@
-204,5
+206,7
@@
sub restartopthash {
return $val;
}
+chdir($cwd);
+
1;