Stop crapping cat.pid into the working directory
Tomas Doran [Wed, 27 Jul 2011 18:16:49 +0000 (19:16 +0100)]
t/aggregate/unit_core_script_server.t

index e31c897..01b2dd2 100644 (file)
@@ -4,11 +4,14 @@ use warnings;
 use FindBin qw/$Bin/;
 use lib "$Bin/../lib";
 
+use File::Temp qw/ tempdir /;
 use Test::More;
 use Try::Tiny;
 
 use Catalyst::Script::Server;
 
+chdir(tempdir(CLEANUP => 1));
+
 my $testopts;
 
 # Test default (no opts/args behaviour)