Skip local %2F tests on remote servers
Andy Grundman [Sat, 21 Oct 2006 02:00:53 +0000 (02:00 +0000)]
t/live_component_controller_action_local.t
t/optional_lighttpd-fastcgi.t

index 5177163..13f1200 100644 (file)
@@ -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'),
index ff7a2ea..286c277 100644 (file)
@@ -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_*' );