cvs: php-src(PHP_5_2) /ext/date/tests gmstrftime_variation22.phpt
| From: | Zoe Slattery | Date: | Thu, 25 Jun 2009 14:42:38 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/date/tests gmstrftime_variation22.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-58989@lists.php.net to get a copy of this message | ||
zoe Thu Jun 25 14:42:38 2009 UTC
Modified files: (Branch: PHP_5_2)
/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.2.1&r2=1.1.2.2&diff_format=u
Index: php-src/ext/date/tests/gmstrftime_variation22.phpt
diff -u php-src/ext/date/tests/gmstrftime_variation22.phpt:1.1.2.1
php-src/ext/date/tests/gmstrftime_variation22.phpt:1.1.2.2
--- php-src/ext/date/tests/gmstrftime_variation22.phpt:1.1.2.1 Thu Jan 22 18:47:12 2009
+++ php-src/ext/date/tests/gmstrftime_variation22.phpt Thu Jun 25 14:42:38 2009
@@ -5,6 +5,10 @@
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--
<?php