test skip logic was broken
authorGurusamy Sarathy <gsar@cpan.org>
Mon, 9 Jul 2001 03:57:06 +0000 (03:57 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Mon, 9 Jul 2001 03:57:06 +0000 (03:57 +0000)
p4raw-id: //depot/perl@11229

ext/I18N/Langinfo/Langinfo.t

index 0495006..9832a5d 100644 (file)
@@ -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;
     }
 }