summaryrefslogtreecommitdiff
path: root/ext/gettext
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-11-21 13:58:08 +0100
committerAnatol Belski <ab@php.net>2014-11-21 13:58:08 +0100
commit27d7ae63300e8b086dd276a96324ef6ddaeea188 (patch)
tree6fb11f4e6972e5dd26ec1606dcb8d67b802f29eb /ext/gettext
parent146d42ae5dd59aed4bbd2ff552cbaab4df6fb085 (diff)
parent64b9277867cb0da1a68a122b0a9fe6dfb78d9c84 (diff)
downloadphp-git-27d7ae63300e8b086dd276a96324ef6ddaeea188.tar.gz
Merge branch 'PHP-5.6'
* PHP-5.6: fixed test
Diffstat (limited to 'ext/gettext')
-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