File: devel-checkos.patch

package info (click to toggle)
libnumber-phone-perl 3.9001-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 130,728 kB
  • sloc: perl: 1,926; makefile: 6
file content (25 lines) | stat: -rw-r--r-- 534 bytes parent folder | download
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: 2020-12-05

--- 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');
 
     my $forker = Parallel::ForkManager->new(1);
     my $returned_from_child;