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
CommitLineData
a0ed8b7b
FC
1#!./perl
2
0c24d268
FC
3BEGIN {
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}
a0ed8b7b
FC
10use strict;
11use warnings;
12
13plan 1;
14
15# [perl #76474]
16ok !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";