From c9bd271bb60c6e4d5ad553a3b31cc83b393bf054 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 30 Oct 2014 12:52:14 -0600 Subject: tests: avoid false-positive failure due to some zh_CN.* locales On some systems, and for some zh_CN.* locales (e.g., OpenBSD5.5) the E-acute pair of bytes do not qualify as a word-constituent character. * tests/word-multibyte: Use zh_CN.UTF-8, rather than "zh_CN". Reported by Assaf Gordon and Bruce Dubbs in http://debbugs.gnu.org/18892 --- tests/word-multibyte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/word-multibyte b/tests/word-multibyte index e067a374..2a554068 100755 --- a/tests/word-multibyte +++ b/tests/word-multibyte @@ -10,7 +10,7 @@ export LC_ALL fail=0 -for LOC in en_US.UTF-8 zh_CN $LOCALE_FR_UTF8; do +for LOC in en_US.UTF-8 zh_CN.UTF-8 $LOCALE_FR_UTF8; do out=out1-$LOC LC_ALL=$LOC grep '\w' in >$out || fail=1 compare in $out || fail=1 -- cgit v1.2.1