Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the IO-CaptureOutput CPAN distribution.

Report information
The Basics
Id: 35316
Status: resolved
Priority: 0/
Queue: IO-CaptureOutput

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

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



Subject: Fwd: IO-CaptureOutput-1.06 t/wperl.t fails on Windows Vista
Date: Tue, 22 Apr 2008 15:14:55 -0400
To: bug-IO-CaptureOutput [...] rt.cpan.org
From: "David Golden" <dagolden [...] cpan.org>
Show quoted text
---------- Forwarded message ---------- From: Mr. Muskrat <mr.muskrat@gmail.com> Date: Wed, Dec 19, 2007 at 6:53 PM Subject: IO-CaptureOutput-1.06 t/wperl.t fails on Windows Vista To: David Golden <dagolden@cpan.org> David, I don't know if it's due to Windows Vista itself or Strawberry Perl 5.10.0 not working right on Windows Vista but wperl.t fails at line 44. C:\Users\mmusgrove\Desktop\IO-CaptureOutput-1.06>dmake test C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/capture...........ok t/capture_exec......ok t/noconsole.........ok t/wperl.............1/4 # Failed test ''wperl-exec.pl' capture correct' # at t/wperl.t line 44. # Structures begin differing at: # $got->[1] = Does not exist # $expected->[1] = 'STDERR # ' # Looks like you failed 1 test of 4. t/wperl............. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/4 subtests Test Summary Report ------------------- t/wperl.t (Wstat: 256 Tests: 4 Failed: 1) Failed test number(s): 4 Non-zero exit status: 1 Files=4, Tests=37, 2 wallclock secs ( 0.03 usr + 0.05 sys = 0.08 CPU) Result: FAIL Failed 1/4 test programs. 1/37 subtests failed. dmake: Error code 129, while making 'test_dynamic' -- Matt "Mr. Muskrat" Musgrove
On Tue Apr 22 15:16:08 2008, DAGOLDEN wrote: Show quoted text
> ---------- Forwarded message ---------- > From: Mr. Muskrat <mr.muskrat@gmail.com> > Date: Wed, Dec 19, 2007 at 6:53 PM > Subject: IO-CaptureOutput-1.06 t/wperl.t fails on Windows Vista > To: David Golden <dagolden@cpan.org> > > > David, > I don't know if it's due to Windows Vista itself or Strawberry Perl > 5.10.0 not working right on Windows Vista but wperl.t fails at line > 44. > > C:\Users\mmusgrove\Desktop\IO-CaptureOutput-1.06>dmake test > C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t > t/capture...........ok > t/capture_exec......ok > t/noconsole.........ok > t/wperl.............1/4 > # Failed test ''wperl-exec.pl' capture correct' > # at t/wperl.t line 44. > # Structures begin differing at: > # $got->[1] = Does not exist > # $expected->[1] = 'STDERR > # ' > # Looks like you failed 1 test of 4. > t/wperl............. Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/4 subtests > > Test Summary Report > ------------------- > t/wperl.t (Wstat: 256 Tests: 4 Failed: 1) > Failed test number(s): 4 > Non-zero exit status: 1 > Files=4, Tests=37, 2 wallclock secs ( 0.03 usr + 0.05 sys = 0.08 CPU) > Result: FAIL > Failed 1/4 test programs. 1/37 subtests failed. > dmake: Error code 129, while making 'test_dynamic' >
I see the same problem on Windows Vista with ActivePerl 5.8.8 build 822. A simple wperl.exe -e "print 'something'" also does not return anything. Regards, Slaven
This also fails on the Windows 7 Beta.
Version 1.1001 released, marking these wperl.exe tests as "TODO" on Windows Vista. The issue appears to be whether or not wperl.exe (which has no STDOUT or STDERR) can open STDOUT and STDERR and have them inherited by a child process. It works on XP but does not on Vista. -- David