summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-11-21 13:57:46 +0100
committerAnatol Belski <ab@php.net>2014-11-21 13:57:46 +0100
commit64b9277867cb0da1a68a122b0a9fe6dfb78d9c84 (patch)
tree4882aeff260e0c77220abe70d7ba21125cfd3751
parent1e14f805f9d5798bcf71334ee61eb5f85916599e (diff)
parent59a9e7af215fb2411035f8d75386acbb38cd8e83 (diff)
downloadphp-git-64b9277867cb0da1a68a122b0a9fe6dfb78d9c84.tar.gz
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: fixed test
-rw-r--r--ext/gettext/tests/bug66267.phpt8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/gettext/tests/bug66267.phpt b/ext/gettext/tests/bug66267.phpt
index c3aa42379e..26963acb7e 100644
--- a/ext/gettext/tests/bug66267.phpt
+++ b/ext/gettext/tests/bug66267.phpt
@@ -10,6 +10,14 @@ if (PHP_ZTS) {
should be even XFAIL till it's fixed there */
die("skip NTS only");
}
+if (substr(PHP_OS, 0, 3) != 'WIN') {
+ $loc = ["de_DE", "fr_FR", "en_US"];
+ foreach($loc as $l) {
+ if (!setlocale(LC_ALL, $l)) {
+ die("SKIP '$l' locale not supported.");
+ }
+ }
+}
?>
--FILE--
<?php