com php-src: only no_NO.ISO-8859-1 have to be ignored: ext/standard/tests/strings/setlocale_variat ion2.phpt
| From: | Remi Collet | Date: | Wed, 01 Oct 2014 08:14:14 +0000 |
| Subject: | com php-src: only no_NO.ISO-8859-1 have to be ignored: ext/standard/tests/strings/setlocale_variat ion2.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-82031@lists.php.net to get a copy of this message | ||
Commit: 3e6f17673338034724c8b637c214b53a51a9db14
Author: Remi Collet <remi@php.net> Wed, 1 Oct 2014 10:14:14 +0200
Parents: 7cbd8f8b8a662c1e74cb1c97dac6f606f8f477c9
Branches: PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3e6f17673338034724c8b637c214b53a51a9db14
Log:
only no_NO.ISO-8859-1 have to be ignored
Changed paths:
M ext/standard/tests/strings/setlocale_variation2.phpt
Diff:
diff --git a/ext/standard/tests/strings/setlocale_variation2.phpt
b/ext/standard/tests/strings/setlocale_variation2.phpt
index 10ae22f..5ebdfe8 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 )