diff options
author | Steve Hay <SteveHay@planit.com> | 2006-12-07 12:34:10 +0000 |
---|---|---|
committer | Steve Hay <SteveHay@planit.com> | 2006-12-07 12:34:10 +0000 |
commit | 2b09c5a862431f9c94739bfc685cb244ce050f6c (patch) | |
tree | 28dba2588ebc6b4cbc944e790c54b805cb0595aa /t | |
parent | b149d92d47a26aa87d3972ed99620c0725f4d00a (diff) | |
download | perl-2b09c5a862431f9c94739bfc685cb244ce050f6c.tar.gz |
Make use of $Config{d_pseudofork} in a couple of core tests
Can't really use it in ext/IO/t/*.t and lib/Test/Simple/t/fork.t
because they are dual-lived modules and must work with older perls
that don't have d_pseudofork
p4raw-id: //depot/perl@29485
Diffstat (limited to 't')
-rwxr-xr-x | t/op/fork.t | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/t/op/fork.t b/t/op/fork.t index b344990fd6..2d6232ef68 100755 --- a/t/op/fork.t +++ b/t/op/fork.t @@ -6,12 +6,7 @@ BEGIN { chdir 't' if -d 't'; @INC = '../lib'; require Config; import Config; - unless ($Config{'d_fork'} - or (($^O eq 'MSWin32' || $^O eq 'NetWare') and $Config{useithreads} - and $Config{ccflags} =~ /-DPERL_IMPLICIT_SYS/ -# and !defined $Config{'useperlio'} - )) - { + unless ($Config{'d_fork'} or $Config{'d_pseudofork'}) { print "1..0 # Skip: no fork\n"; exit 0; } |