From: Nicholas Clark Date: Fri, 18 Jun 2004 13:45:51 +0000 (+0000) Subject: This needs POSIX, so skip if no POSIX X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0658482a3cc08307f48dcbfb691cf3f009bd3320;p=p5sagit%2Fp5-mst-13.2.git This needs POSIX, so skip if no POSIX p4raw-id: //depot/perl@22958 --- diff --git a/lib/Pod/t/basic.t b/lib/Pod/t/basic.t index a61b4bf..984e720 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"; }