Skip filehandle tests on remote servers
[catagits/Catalyst-Runtime.git] / t / live / component / controller / action / streaming.t
index e917a3b..1f34784 100644 (file)
@@ -22,7 +22,12 @@ EOF
 }
 
 # test streaming by passing a handle to $c->res->body
+SKIP:
 {
+    if ( $ENV{CATALYST_SERVER} ) {
+        skip "Using remote server", 4;
+    }
+    
     my $file = "$FindBin::Bin/../../../../01use.t";
     my $fh = IO::File->new( $file, 'r' );
     my $buffer;