From: Steve Hay Date: Thu, 29 Aug 2013 17:09:59 +0000 (+0100) Subject: Better check for the fork emulation in t/win32/signal.t X-Git-Tag: upstream/5.20.0~2073 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=83481e45887ea0431868269392cc3e5fd9f1c66c;p=platform%2Fupstream%2Fperl.git Better check for the fork emulation in t/win32/signal.t 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.) --- diff --git a/t/win32/signal.t b/t/win32/signal.t index d24fd0b..143327a 100644 --- a/t/win32/signal.t +++ b/t/win32/signal.t @@ -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'}; ++$|;