From: Andy Grundman Date: Sat, 21 Oct 2006 02:00:53 +0000 (+0000) Subject: Skip local %2F tests on remote servers X-Git-Tag: 5.7099_04~312 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=5884ba38ab9f8931d211df9d718dc7f31227ff1f Skip local %2F tests on remote servers --- diff --git a/t/live_component_controller_action_local.t b/t/live_component_controller_action_local.t index 5177163..13f1200 100644 --- a/t/live_component_controller_action_local.t +++ b/t/live_component_controller_action_local.t @@ -109,7 +109,12 @@ sub run_tests { ); } - { + SKIP: + { + if ( $ENV{CATALYST_SERVER} ) { + skip "tests for %2F on remote server", 6; + } + ok( my $response = request('http://localhost/action/local/one/foo%2Fbar'), diff --git a/t/optional_lighttpd-fastcgi.t b/t/optional_lighttpd-fastcgi.t index ff7a2ea..286c277 100644 --- a/t/optional_lighttpd-fastcgi.t +++ b/t/optional_lighttpd-fastcgi.t @@ -54,7 +54,6 @@ server.document-root = "$docroot" server.errorlog = "$docroot/error.log" accesslog.filename = "$docroot/access.log" -server.bind = "127.0.0.1" server.port = $port # catalyst app specific fcgi setup @@ -83,6 +82,8 @@ while ( check_port( 'localhost', $port ) != 1 ) { sleep 1; } +exit; + # run the testsuite against the server $ENV{CATALYST_SERVER} = "http://localhost:$port"; system( 'prove -r -Ilib/ t/live_*' );