From: Zoe Slattery Date: Thu, 25 Jun 2009 14:42:38 +0000 (+0000) Subject: fix skipif X-Git-Tag: php-5.2.11RC1~233 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c615df97f38d81a3319c563cce178c2fb0d4c6d2;p=php fix skipif --- diff --git a/ext/date/tests/gmstrftime_variation22.phpt b/ext/date/tests/gmstrftime_variation22.phpt index 213fa5c747..e14cef611c 100644 --- a/ext/date/tests/gmstrftime_variation22.phpt +++ b/ext/date/tests/gmstrftime_variation22.phpt @@ -5,6 +5,10 @@ Test gmstrftime() function : usage variation - Checking Preferred date and time if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') { die("skip Test is not valid for Windows"); } +if (!setlocale(LC_ALL, "en_US")) { + die("skip Locale en_US not available"); +} + ?> --FILE--