remove redundant part of change#1169 superseded by change#2061;
[p5sagit/p5-mst-13.2.git] / t / lib / io_pipe.t
index 0c1a498..bcb89a0 100755 (executable)
@@ -11,10 +11,16 @@ use Config;
 
 BEGIN {
     if(-d "lib" && -f "TEST") {
-        if (! $Config{'d_fork'} ||
-           ($Config{'extensions'} !~ /\bIO\b/ && $^O ne 'VMS'))
-       {
-           print "1..0\n";
+       my $reason;
+       if (! $Config{'d_fork'}) {
+           $reason = 'no fork';
+       }
+       elsif ($Config{'extensions'} !~ /\bIO\b/) {
+           $reason = 'IO extension unavailable';
+       }
+       undef $reason if $^O eq 'VMS';
+       if ($reason) {
+           print "1..0 # Skip: $reason\n";
            exit 0;
         }
     }