zoe Thu Jun 25 14:44:01 2009 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/date/tests gmstrftime_variation22.phpt
Log:
fix skipif
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/gmstrftime_variation22.phpt?r1=1.1.4.3&r2=1.1.4.4&diff_format=u
Index: php-src/ext/date/tests/gmstrftime_variation22.phpt
diff -u php-src/ext/date/tests/gmstrftime_variation22.phpt:1.1.4.3
php-src/ext/date/tests/gmstrftime_variation22.phpt:1.1.4.4
--- php-src/ext/date/tests/gmstrftime_variation22.phpt:1.1.4.3 Tue Jan 27
14:22:17 2009
+++ php-src/ext/date/tests/gmstrftime_variation22.phpt Thu Jun 25 14:44:01 2009
@@ -5,6 +5,9 @@
if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') {
die("skip Test is not valid for Windows");
}
+if (!setlocale(LC_ALL, "en_US.utf8", "en_US")) {
+ die("skip Locale en_US or en_US.utf8 is required to run this test");
+}
?>
--FILE--
<?php
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php