summaryrefslogtreecommitdiff
path: root/ext/I18N
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2001-07-09 03:57:06 +0000
committerGurusamy Sarathy <gsar@cpan.org>2001-07-09 03:57:06 +0000
commitb270fb37482174d3cafa7dc989f8815f2f36bba4 (patch)
tree7e0d557ad160a2b8c19a77af7b9c316a05ba5008 /ext/I18N
parent1f50c5a9cc362b5e276f2064562b077f152c5252 (diff)
downloadperl-b270fb37482174d3cafa7dc989f8815f2f36bba4.tar.gz
test skip logic was broken
p4raw-id: //depot/perl@11229
Diffstat (limited to 'ext/I18N')
-rw-r--r--ext/I18N/Langinfo/Langinfo.t7
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/I18N/Langinfo/Langinfo.t b/ext/I18N/Langinfo/Langinfo.t
index 0495006f40..9832a5dbed 100644
--- a/ext/I18N/Langinfo/Langinfo.t
+++ b/ext/I18N/Langinfo/Langinfo.t
@@ -3,9 +3,10 @@
BEGIN {
chdir 't' if -d 't';
require Config; import Config;
- if ($Config{'extensions'} !~ m!\bI18N/Langinfo\b! &&
- $Config{'extensions'} !~ m!\bPOSIX\b!) {
- print "1..0\n";
+ if ($Config{'extensions'} !~ m!\bI18N/Langinfo\b! ||
+ $Config{'extensions'} !~ m!\bPOSIX\b!)
+ {
+ print "1..0 # skip: I18N::Langinfo or POSIX unavailable\n";
exit 0;
}
}