summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/setlocale_variation2.phpt
diff options
context:
space:
mode:
authorRemi Collet <remi@php.net>2014-10-01 10:14:14 +0200
committerRemi Collet <remi@php.net>2014-10-01 10:14:14 +0200
commit3e6f17673338034724c8b637c214b53a51a9db14 (patch)
treea3cd6fc2615401e0ddfb13cd9d64763936b583b6 /ext/standard/tests/strings/setlocale_variation2.phpt
parent7cbd8f8b8a662c1e74cb1c97dac6f606f8f477c9 (diff)
downloadphp-git-3e6f17673338034724c8b637c214b53a51a9db14.tar.gz
only no_NO.ISO-8859-1 have to be ignored
Diffstat (limited to 'ext/standard/tests/strings/setlocale_variation2.phpt')
-rw-r--r--ext/standard/tests/strings/setlocale_variation2.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/tests/strings/setlocale_variation2.phpt b/ext/standard/tests/strings/setlocale_variation2.phpt
index 10ae22fe0c..5ebdfe8d50 100644
--- a/ext/standard/tests/strings/setlocale_variation2.phpt
+++ b/ext/standard/tests/strings/setlocale_variation2.phpt
@@ -20,9 +20,9 @@ echo "*** Testing setlocale() : usage variations ***\n";
function good_locale($locale) {
/**
- * Note: no_NO is a bogus locale and should not be used, see https://bugzilla.redhat.com/show_bug.cgi?id=532487
+ * Note: no_NO is a bogus locale and should not be used, see https://bugzilla.redhat.com/971416
**/
- return $locale !== 'tt_RU@iqtelif.UTF-8' && substr($locale, 0, 5) !== "no_NO";
+ return $locale !== 'tt_RU@iqtelif.UTF-8' && $locale !== 'no_NO.ISO-8859-1';
}
/* Prototype : array list_system_locales( void )