Skip to content

Commit aed76e6

Browse files
committed
Update IPC-Cmd to CPAN version 1.00
[DELTA] 1.00 Wed Feb 14 16:14:01 GMT 2018 Bug fixes: - Resolve RT #91784 'run_forked("/usr/bin/echo test") captures no output' - Resolve RT #124415 'The 03_run_forked.t test fails (sometimes) on HPUX'
1 parent 142e623 commit aed76e6

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Porting/Maintainers.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ package Maintainers;
645645
},
646646

647647
'IPC::Cmd' => {
648-
'DISTRIBUTION' => 'BINGOS/IPC-Cmd-0.98.tar.gz',
648+
'DISTRIBUTION' => 'BINGOS/IPC-Cmd-1.00.tar.gz',
649649
'FILES' => q[cpan/IPC-Cmd],
650650
},
651651

cpan/IPC-Cmd/lib/IPC/Cmd.pm

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ BEGIN {
1818
$HAVE_MONOTONIC
1919
];
2020

21-
$VERSION = '0.98';
21+
$VERSION = '1.00';
2222
$VERBOSE = 0;
2323
$DEBUG = 0;
2424
$WARN = 1;
@@ -531,6 +531,7 @@ sub open3_run {
531531
$child_err->autoflush(1);
532532

533533
my $pid = open3($child_in, $child_out, $child_err, $cmd);
534+
Time::HiRes::usleep(1);
534535

535536
# push my child's pid to our parent
536537
# so in case i am killed parent

cpan/IPC-Cmd/t/03_run-forked.t

+1
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ close($fh);
8383

8484
SKIP: {
8585
skip 'Skip these tests in PERL_CORE', 100 if $ENV{PERL_CORE};
86+
skip 'These tests heisenfail on HPUX', 100 if $^O eq 'hpux';
8687
for (my $i = 0; $i < 100; $i++) {
8788
my $f_ipc_cmd = IPC::Cmd::run_forked("$cat $filename");
8889
my $f_backticks = `$cat $filename`;

0 commit comments

Comments
 (0)