Skip to content

Commit

Permalink
tests for [perl #76474]
Browse files Browse the repository at this point in the history
  • Loading branch information
Father Chrysostomos committed Sep 26, 2010
1 parent fb9b5b3 commit a0ed8b7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions MANIFEST
Expand Up @@ -3178,6 +3178,7 @@ ext/I18N-Langinfo/t/Langinfo.t See whether I18N::Langinfo works
ext/IPC-Open2/lib/IPC/Open2.pm Open a two-ended pipe
ext/IPC-Open2/t/IPC-Open2.t See if IPC::Open2 works
ext/IPC-Open3/lib/IPC/Open3.pm Open a three-ended pipe
ext/IPC-Open3/t/fd.t See if IPC::Open3 works w/ file descriptors
ext/IPC-Open3/t/IPC-Open3.t See if IPC::Open3 works
ext/mro/Changes mro extension
ext/mro/mro.pm mro extension
Expand Down
15 changes: 15 additions & 0 deletions ext/IPC-Open3/t/fd.t
@@ -0,0 +1,15 @@
#!./perl

BEGIN { require "../../t/test.pl"; }
use strict;
use warnings;

plan 1;

# [perl #76474]
ok !runperl(
switches => ['-MIPC::Open3', '-w'],
prog => 'open3(q _<&1_, my $out, undef, $ENV{PERLEXE})',
stderr => 1,
),
"dup STDIN in a child process by using its file descriptor";

0 comments on commit a0ed8b7

Please sign in to comment.