Skip to content

Commit

Permalink
Fix IPC::Open3’s fd.t to work on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Father Chrysostomos committed Sep 27, 2010
1 parent dfa4c01 commit 45a1ce9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ext/IPC-Open3/t/fd.t
Expand Up @@ -13,9 +13,13 @@ use warnings;
plan 1;

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

0 comments on commit 45a1ce9

Please sign in to comment.