Skip Menu |
 

This queue is for tickets about the IPC-ConcurrencyLimit CPAN distribution.

Report information
The Basics
Id: 131955
Status: new
Priority: 0/
Queue: IPC-ConcurrencyLimit

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

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



Subject: Fork-using tests may be enabled on *BSD
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.18-3099-1582557983-1211.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 849
Download (untitled) / with headers
text/plain 849b
As *BSD systems are true Unix systems, it is expected that the fork-using tests in t/04standby.t should work there, too. I tried the below diff on a FreeBSD 12 system, and it passed. The used regexp should match $^O values like freebsd, netbsd, openbsd, bsdi. There may be other *BSD variants (e.g. dragonfly) which are not handled (but I am not familiar with these). diff --git a/t/04standby.t b/t/04standby.t index ac9cf8f..5fde3ae 100644 --- a/t/04standby.t +++ b/t/04standby.t @@ -7,7 +7,7 @@ use IPC::ConcurrencyLimit::WithStandby; use Test::More; BEGIN { - if ($^O !~ /linux/i && $^O !~ /win32/i && $^O !~ /darwin/i) { + if ($^O !~ /linux/i && $^O !~ /win32/i && $^O !~ /darwin/i && $^O !~ /bsd/) { Test::More->import( skip_all => <<'SKIP_MSG', Will test the fork-using tests only on linux, win32, darwin since I probably


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.