cvs: php-src(PHP_5_3) /ext/date/tests gmstrftime_variation22.phpt
| From: | Zoe Slattery | Date: | Thu, 25 Jun 2009 14:44:01 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/date/tests gmstrftime_variation22.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-58990@lists.php.net to get a copy of this message | ||
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