Skip [, (, and ) args tests on remote servers. These fail on both Apache and lighttp...
Andy Grundman [Wed, 28 Mar 2007 22:24:42 +0000 (22:24 +0000)]
t/live_component_controller_args.t

index f5768ae..c4fdc17 100644 (file)
@@ -65,8 +65,9 @@ sub run_test_for {
     
     SKIP:
     {   
-        # Skip %2F and . tests on real webservers, they are often ignored by default
-        if ( $ENV{CATALYST_SERVER} && $path =~ /(?:%2F|\.)/ ) {
+        # Skip %2F, ., [, (, and ) tests on real webservers
+        # Both Apache and lighttpd don't seem to like these
+        if ( $ENV{CATALYST_SERVER} && $path =~ /(?:%2F|\.|%5B|\(|\))/ ) {
             skip "Skipping $path tests on remote server", 6;
         }