diff options
author | Nicholas Clark <nick@ccl4.org> | 2004-06-18 13:45:51 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2004-06-18 13:45:51 +0000 |
commit | 0658482a3cc08307f48dcbfb691cf3f009bd3320 (patch) | |
tree | 1afbcbfa9800f4e054bab5554119af05be5c0652 /lib/Pod | |
parent | c29a2e1a7db1f2900677bea320406eef3cc36b3e (diff) | |
download | perl-0658482a3cc08307f48dcbfb691cf3f009bd3320.tar.gz |
This needs POSIX, so skip if no POSIX
p4raw-id: //depot/perl@22958
Diffstat (limited to 'lib/Pod')
-rw-r--r-- | lib/Pod/t/basic.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Pod/t/basic.t b/lib/Pod/t/basic.t index a61b4bf07f..984e7208ee 100644 --- a/lib/Pod/t/basic.t +++ b/lib/Pod/t/basic.t @@ -16,6 +16,11 @@ BEGIN { unshift (@INC, '../blib/lib'); } unshift (@INC, '../blib/lib'); + require Config; + if (($Config::Config{'extensions'} !~ /\bPOSIX\b/) ){ + print "1..0 # Skip -- Perl configured without POSIX module\n"; + exit 0; + } $| = 1; print "1..11\n"; } |