summaryrefslogtreecommitdiff
path: root/lib/File
diff options
context:
space:
mode:
authorAbe Timmerman <abe@ztreet.demon.nl>2008-01-06 13:24:10 +0100
committerCraig A. Berry <craigberry@mac.com>2008-01-06 15:49:27 +0000
commit00bfa1c17dfe43993c5f80f5019f11c8cfeb534a (patch)
tree29b5959419c22c56647e486507b7c02f658611fe /lib/File
parente3c86cb70703feebf6abd65d38b2581d6e9b7429 (diff)
downloadperl-00bfa1c17dfe43993c5f80f5019f11c8cfeb534a.tar.gz
Re: Smoke [5.11.0] 32864 FAIL(F) MSWin32 Win2003 SP2 (x86/1 cpu)
Message-ID: <4780BA5A.80202@ztreet.demon.nl> Skip lib/File/Temp/t/fork.t when there is no fork. p4raw-id: //depot/perl@32871
Diffstat (limited to 'lib/File')
-rw-r--r--lib/File/Temp/t/fork.t10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/File/Temp/t/fork.t b/lib/File/Temp/t/fork.t
index 2589c22549..5bf0634156 100644
--- a/lib/File/Temp/t/fork.t
+++ b/lib/File/Temp/t/fork.t
@@ -5,7 +5,15 @@ $| = 1;
use strict;
-BEGIN { print "1..8\n"; }
+BEGIN {
+ require Config;
+ if ( $Config::Config{d_fork} ) {
+ print "1..8\n";
+ } else {
+ print "1..0 # Skip No fork available\n";
+ exit;
+ }
+}
use File::Temp;