Better check for the fork emulation in t/win32/signal.t
authorSteve Hay <steve.m.hay@googlemail.com>
Thu, 29 Aug 2013 17:09:59 +0000 (18:09 +0100)
committerSteve Hay <steve.m.hay@googlemail.com>
Thu, 29 Aug 2013 17:10:17 +0000 (18:10 +0100)
The d_pseudofork Configure variable hasn't been around all that long so
isn't suitable for use in dual-lived module tests, but is good for use in
core tests.

(t/win32/runenv.t doesn't do this since it is actually PERL_IMPLICIT_SYS
rather than the fork emulation which that test requires.)

t/win32/signal.t

index d24fd0b..143327a 100644 (file)
@@ -15,8 +15,8 @@ BEGIN {
     }
 }
 
-skip_all("requires compilation with PERL_IMPLICIT_SYS")
-  unless $Config{ccflags} =~/(?:\A|\s)-DPERL_IMPLICIT_SYS\b/;
+skip_all("requires compilation with the fork emulation")
+  unless $Config{'d_pseudofork'};
 
 ++$|;