Skip Menu |

This queue is for tickets about the IPC-Cmd CPAN distribution.

Report information
The Basics
Id: 124415
Status: new
Priority: 0/
Queue: IPC-Cmd

People
Owner: Nobody in particular
Requestors: DROLSKY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: The 03_run_forked.t test fails (sometimes) on HPUX
The test sometimes fails with output like this: # Failed test 'reading /home/gecko/APEE-5.14.4.1405.17-IA64.ARCHREV_0-LP64-11.23-cc-405146/tmp/UTZoovB2vV: run_forked output length [278529], backticks output length [286720]' # at t/03_run-forked.t line 90. Died at t/03_run-forked.t line 92. This only happens sometimes, and it seems to be somewhat random. I'm guessing there's some sort of OS-level bug involved and that it's not something that can be fixed in the module code. For now, we're applying the attached patch to just skip the relevant tests on HPUX.
Subject: IPC-Cmd-hpux-skip-tests.patch
From 50e3ff619ee9ca278ec102f2143fb398b5aadc9d Mon Sep 17 00:00:00 2001 From: Dave Rolsky <autarch@urth.org> Date: Tue, 13 Feb 2018 10:28:13 -0600 Subject: [PATCH] Skip tests that heisenfail on HPUX This may be related to the other patch we apply to fix https://rt.cpan.org/Public/Bug/Display.html?id=91784, but it's not clear what the actual problem is, and is almost certainly something deep in the OS. --- t/03_run-forked.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/03_run-forked.t b/t/03_run-forked.t index 5425334..42e7709 100755 --- a/t/03_run-forked.t +++ b/t/03_run-forked.t @@ -83,6 +83,7 @@ close($fh); SKIP: { skip 'Skip these tests in PERL_CORE', 100 if $ENV{PERL_CORE}; + skip 'These tests heisenfail on HPUX', 100 if $^O eq 'hpux'; for (my $i = 0; $i < 100; $i++) { my $f_ipc_cmd = IPC::Cmd::run_forked("$cat $filename"); my $f_backticks = `$cat $filename`; -- 2.16.1