File: devel-checkos.patch

package info (click to toggle)
libnumber-phone-perl 4.0009-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 41,812 kB
  • sloc: perl: 1,955; makefile: 6
file content (25 lines) | stat: -rw-r--r-- 565 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: disable use of Devel::CheckOS (not packaged)
Origin: vendor
Forwarded: not-needed
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2024-03-24

--- a/t/fork.t
+++ b/t/fork.t
@@ -4,7 +4,6 @@
 use nptestutils;
 
 use Config;
-use Devel::CheckOS qw(os_is);
 
 use Test::More;
 
@@ -14,7 +13,7 @@
 
 SKIP: {
     skip "fork() isn't supported properly on Windows", 3
-        if(os_is("MicrosoftWindows"));
+        if($^O eq 'MSWin32');
     skip "Parallel::ForkManager needed for these tests", 3
         unless($INC{'Parallel/ForkManager.pm'});