This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c29a2e1
)
This needs POSIX, so skip if no POSIX
author
Nicholas Clark
<nick@ccl4.org>
Fri, 18 Jun 2004 13:45:51 +0000
(13:45 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Fri, 18 Jun 2004 13:45:51 +0000
(13:45 +0000)
p4raw-id: //depot/perl@22958
lib/Pod/t/basic.t
patch
|
blob
|
blame
|
history
diff --git
a/lib/Pod/t/basic.t
b/lib/Pod/t/basic.t
index
a61b4bf
..
984e720
100644
(file)
--- 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";
}