diff options
author | Steve Hay <steve.m.hay@googlemail.com> | 2013-08-29 18:09:59 +0100 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2013-08-29 18:10:17 +0100 |
commit | 83481e45887ea0431868269392cc3e5fd9f1c66c (patch) | |
tree | 6791d36a148e253d03972ae321ca9b8f7c735086 /t | |
parent | 098b07d5cb1d6aa13b81a0f43ea5e151829ad26c (diff) | |
download | perl-83481e45887ea0431868269392cc3e5fd9f1c66c.tar.gz |
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.)
Diffstat (limited to 't')
-rw-r--r-- | t/win32/signal.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/win32/signal.t b/t/win32/signal.t index d24fd0b505..143327ab45 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'}; ++$|; |