From: Gurusamy Sarathy Date: Mon, 9 Jul 2001 03:57:06 +0000 (+0000) Subject: test skip logic was broken X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b270fb37482174d3cafa7dc989f8815f2f36bba4;p=p5sagit%2Fp5-mst-13.2.git test skip logic was broken p4raw-id: //depot/perl@11229 --- diff --git a/ext/I18N/Langinfo/Langinfo.t b/ext/I18N/Langinfo/Langinfo.t index 0495006..9832a5d 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; } }