From: Andy Grundman Date: Tue, 27 Mar 2007 20:25:11 +0000 (+0000) Subject: lighttpd: Allow running of a single test X-Git-Tag: 5.7099_04~214 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=0787198669dd18050155c7cddd562d7da4537480 lighttpd: Allow running of a single test --- diff --git a/t/optional_lighttpd-fastcgi-non-root.t b/t/optional_lighttpd-fastcgi-non-root.t index cbf2a50..fd56d6c 100644 --- a/t/optional_lighttpd-fastcgi-non-root.t +++ b/t/optional_lighttpd-fastcgi-non-root.t @@ -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); }; diff --git a/t/optional_lighttpd-fastcgi.t b/t/optional_lighttpd-fastcgi.t index 6ad351a..43a474e 100644 --- a/t/optional_lighttpd-fastcgi.t +++ b/t/optional_lighttpd-fastcgi.t @@ -99,7 +99,7 @@ while ( check_port( 'localhost', $port ) != 1 ) { # run the testsuite against the server $ENV{CATALYST_SERVER} = "http://localhost:$port"; -my @tests = glob('t/live_*'); +my @tests = (shift) || glob('t/live_*'); eval { runtests(@tests); };