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
[perl5.git] / ext / IPC-Open3 / t / fd.t
1 #!./perl
2
3 BEGIN {
4     if (!PerlIO::Layer->find('perlio') || $ENV{PERLIO} eq 'stdio') {
5         print "1..0 # Skip: not perlio\n";
6         exit 0;
7     }
8     require "../../t/test.pl";
9 }
10 use strict;
11 use warnings;
12
13 plan 1;
14
15 # [perl #76474]
16 ok !runperl(
17      switches => ['-MIPC::Open3', '-w'],
18      prog => 'open3(q _<&1_, my $out, undef, $ENV{PERLEXE})',
19      stderr => 1,
20    ),
21    "dup STDIN in a child process by using its file descriptor";