lighttpd: Allow running of a single test
[catagits/Catalyst-Runtime.git] / t / optional_lighttpd-fastcgi-non-root.t
index cbf2a50..fd56d6c 100644 (file)
@@ -99,7 +99,7 @@ while ( check_port( 'localhost', $port ) != 1 ) {
 # run the testsuite against the server
 $ENV{CATALYST_SERVER} = "http://localhost:$port/deep/path";
 
-my @tests = glob('t/live_*');
+my @tests = (shift) || glob('t/live_*');
 eval {
     runtests(@tests);
 };