Skip to content

Fwd: IO-CaptureOutput-1.06 t/wperl.t fails on Windows Vista [rt.cpan.org #35316] #5

Description

Migrated from rt.cpan.org#35316 (status was: open)

Requestors:

From dagolden@cpan.org on 2008-04-22 19:16:08:

---------- 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

From srezic@cpan.org on 2008-08-07 18:21:05:

On Tue Apr 22 15:16:08 2008, DAGOLDEN wrote:
> ---------- 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

From cromedome@cpan.org on 2009-01-20 20:42:42:

This also fails on the Windows 7 Beta.

From dagolden@cpan.org on 2009-01-20 23:36:35:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions