Skip Menu |

This queue is for tickets about the Perl6-Slurp CPAN distribution.

Report information
The Basics
Id: 26595
Status: open
Priority: 0/
Queue: Perl6-Slurp

People
Owner: Nobody in particular
Requestors: jloverso [...] mathworks.com
Cc:
AdminCc:

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



Subject: t/ipc.t fails on Windows
As reported by this CPAN tester, t/ipc.t fails on Windows with Perl 5.8.8 because the list-form of open-pipe is not supported. Just disabling this test case on Windows is sufficient (note that it was repeated in the file). --- ipc.t 2004-03-01 00:10:08.000000000 -0500 +++ /tmp/ipc.t 2007-04-23 23:40:32.000000000 -0400 @@ -25,10 +25,8 @@ $str = slurp '-|', 'echo input data'; is $str, $data, $desc; -TEST "scalar slurp from '-|', 'system', 'command', 'etc'"; -$str = slurp '-|', qw(echo input data); -is $str, $data, $desc; - -TEST "scalar slurp from '-|', 'system', 'command', 'etc'"; -$str = slurp '-|', qw(echo input data); -is $str, $data, $desc; +if ($^O ne 'MSWin32') { + TEST "scalar slurp from '-|', 'system', 'command', 'etc'"; + $str = slurp '-|', qw(echo input data); + is $str, $data, $desc; +}
From: jloverso [...] mathworks.com
Sorry, I forgot to include the link to the CPAN tester report: http://www.nntp.perl.org/group/perl.cpan.testers/2006/10/msg358665.html
Subject: Re: [rt.cpan.org #26595] t/ipc.t fails on Windows
Date: Tue, 24 Apr 2007 16:38:08 +1000
To: bug-Perl6-Slurp [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Thanks, John! Damian