diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2001-07-09 03:57:06 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2001-07-09 03:57:06 +0000 |
commit | b270fb37482174d3cafa7dc989f8815f2f36bba4 (patch) | |
tree | 7e0d557ad160a2b8c19a77af7b9c316a05ba5008 /ext/I18N | |
parent | 1f50c5a9cc362b5e276f2064562b077f152c5252 (diff) | |
download | perl-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.t | 7 |
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; } } |