Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the Test-Class CPAN distribution.

Report information
The Basics
Id: 128491
Status: new
Priority: 0/
Queue: Test-Class

Owner: Nobody in particular
Requestors: felipe [...]

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

Subject: fork() breaks in Windows
Date: Tue, 12 Feb 2019 16:03:22 -1000
To: bug-Test-Class [...]
From: Felipe Gasper <felipe [...]>
Download (untitled) / with headers
text/plain 1005b
----- #!/usr/bin/env perl use strict; use warnings; use autodie; use parent qw( Test::Class ); sub test_fork : Tests() { my $pid = fork or do { exit; }; waitpid $pid, 0; } __PACKAGE__->new()->runtests() if !caller; ----- ^^ The above breaks in Windows. It gives the following error: ----- # # main->test_fork Free to wrong pool 2db2a30 not 22829c0 at t/ line 11. at t/ line 10. Test::Class::_run_method(main=HASH(0x2f98a68), "test_fork", ARRAY(0x30ae5f8)) called at C:/Strawberry/perl/site/lib/Test/ line 402 Test::Class::runtests(main=HASH(0x2f98a68)) called at t/ line 17 Dubious, test returned 5 (wstat 1280, 0x500) No subtests run Test Summary Report ------------------- t/ (Wstat: 1280 Tests: 0 Failed: 0) Non-zero exit status: 5 Parse errors: No plan found in TAP output Files=1, Tests=0, 2 wallclock secs ( 0.05 usr + 0.00 sys = 0.05 CPU) Result: FAIL ----- I don’t have a fix at this time. -FG

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to