cvs: php-src(PHP_5_2) /ext/date/tests strftime_variation22.phpt
| From: | Zoe Slattery | Date: | Thu, 25 Jun 2009 12:37:45 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/date/tests strftime_variation22.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-58984@lists.php.net to get a copy of this message | ||
zoe Thu Jun 25 12:37:45 2009 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/date/tests strftime_variation22.phpt
Log:
fix skipif
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/strftime_variation22.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/ext/date/tests/strftime_variation22.phpt
diff -u php-src/ext/date/tests/strftime_variation22.phpt:1.1.4.2
php-src/ext/date/tests/strftime_variation22.phpt:1.1.4.3
--- php-src/ext/date/tests/strftime_variation22.phpt:1.1.4.2 Wed Jan 21 10:52:32 2009
+++ php-src/ext/date/tests/strftime_variation22.phpt Thu Jun 25 12:37:45 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")) {
+ die("skip The en_US locale is not available");
+}
?>
--FILE--
<?php