# create a TestApp and copy the test libs into it
mkdir "$FindBin::Bin/../../t/var";
chdir "$FindBin::Bin/../../t/var";
-system "perl $FindBin::Bin/../../script/catalyst.pl TestApp";
+system "perl -I$FindBin::Bin/../../lib $FindBin::Bin/../../script/catalyst.pl TestApp";
chdir "$FindBin::Bin/../..";
File::Copy::Recursive::dircopy( 't/live/lib', 't/var/TestApp/lib' );
while ( check_port( 'localhost', $port ) != 1 ) {
sleep 1;
}
+
+sleep 60;
# run the testsuite against the HTTP server
$ENV{CATALYST_SERVER} = "http://localhost:$port";