This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Skip ext/IPC-Open3/t/fd.t on stdio
authorFather Chrysostomos <sprout@cpan.org>
Mon, 27 Sep 2010 13:47:43 +0000 (06:47 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 27 Sep 2010 13:47:43 +0000 (06:47 -0700)
ext/IPC-Open3/t/fd.t

index 2a9aeff..d716060 100644 (file)
@@ -1,6 +1,12 @@
 #!./perl
 
-BEGIN { require "../../t/test.pl"; }
+BEGIN {
+    if (!PerlIO::Layer->find('perlio') || $ENV{PERLIO} eq 'stdio') {
+       print "1..0 # Skip: not perlio\n";
+       exit 0;
+    }
+    require "../../t/test.pl";
+}
 use strict;
 use warnings;