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

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

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

Subject: Fork-using tests may be enabled on *BSD
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 infrastructure.

Please report any issues with to