fix tests for systems with no de_DE locales

This commit is contained in:
Stanislav Malyshev 2014-11-30 16:10:51 -08:00
parent e1d4ac426c
commit f6aa6324fb

View File

@ -6,6 +6,11 @@ Bug #67052 - NumberFormatter::parse() resets LC_NUMERIC setting
if (substr(PHP_OS, 0, 3) == 'WIN') {
die("skip Valid only on non Windows");
}
$l = setlocale(LC_ALL, 'de_DE');
if($l === false) {
die("skip de_DE locale not installed");
}
setlocale(LC_ALL, $l);
?>
--FILE--
<?php