Skip Menu |

This queue is for tickets about the Forks-Super CPAN distribution.

Report information
The Basics
Id: 67552
Status: resolved
Priority: 0/
Queue: Forks-Super

People
Owner: MOB [...] cpan.org
Requestors: YSAWANT [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.05
Fixed in: 0.52



Subject: Test errors during installation of Forks::Super
Hi, I could install Forks::Super at this laptop running Win XP, but see errors from tests, please check if these need to be resolved. I am running Strawberry Perl 5.12.1. t/04-ipc-dir.t .............. 1/16 Forks::Super: failed to remove dedicated temp file directory t/out/new-ipc.3508/.fhfork3508: No such file or directory t/30-child-fork-behavior.t .. Forks::Super::Job::launch(): fork() not allowed in child process -3360 while $Forks::Super::CHILD_FORK_OK is not set! t/30-child-fork-behavior.t .. 1/6 Forks::Super::Job::launch(): Forks::Super::fork() call not allowed in child process -4576 while $Forks::Super::CHILD_FORK_OK <= 0. Will create child of child with CORE::fork() t/44g-pipes.t ............... 9/20 Use of uninitialized value $out in concatenation (.) or string at t/44g-pipes.t line 62, <IO5008_1001> line 2. t/44g-pipes.t ............... ok t/44h-pipes.t ............... 9/14 Use of uninitialized value $out in concatenation (.) or string at t/44h-pipes.t line 61, <IO672_1001> line 2. t/44h-pipes.t ............... ok t/49-suspend-callback.t ..... No such signal: SIGTSTP at t/49-suspend-callback.t line 117. Invalid signal name TSTP. at C:\strawberry\cpan\build\Forks-Super-0.49-i9q_VI\blib\lib/Signals/XSIG.pm line 136 Signals::XSIG::_resolve_signal('TSTP') called at C:\strawberry\cpan\build\Forks-Super-0.49-i9q_VI\blib\lib/Signals/XSIG.pm line 203 Signals::XSIG::TieSIG::STORE('Signals::XSIG::TieSIG=HASH(0xdb29c4)', 'TSTP', 'CODE(0x11c55dc)') called at t/49-suspend-callback.t line 117 Invalid signal name TSTP. at C:\strawberry\cpan\build\Forks-Super-0.49-i9q_VI\blib\lib/Signals/XSIG.pm line 136 Signals::XSIG::_resolve_signal('TSTP') called at C:\strawberry\cpan\build\Forks-Super-0.49-i9q_VI\blib\lib/Signals/XSIG.pm line 193 Signals::XSIG::TieSIG::FETCH('Signals::XSIG::TieSIG=HASH(0xdb29c4)', 'TSTP') called at t/49-suspend-callback.t line 117 t/49-suspend-callback.t ..... ok t/63a-bg_qx.t ............... 8/16 Forks::Super: child process timeout Use of uninitialized value in string comparison (cmp) at C:\strawberry\cpan\build\Forks-Super-0.49-i9q_VI\blib\lib/Forks/Super/Tie/BackgroundScalar.pm line 33. t/63a-bg_qx.t ............... 12/16 Forks::Super: child process timeout Thanks, Yogesh Sawant
Thank you for the report, Yogesh. The TSTP warnings were unexpected to me -- I'll fix the test in v0.51 to suppress those warnings. And I'll leave this ticket open until the fix is released. All of the other warnings you see are normal. Many of the tests are exercising the distribution in either invalid and inconsistent ways (for example, setting a timeout of -5 seconds). Other tests probe the normal failure modes of the distribution (letting a child process timeout, having a call to the system's fork() fail and return undef, etc.). It is correct behavior for the tests to produce warnings in these cases. -- Marty O'Brien
Unexpected warning messages in test suite fixed in v0.52 and v0.53.