diff options
author | Jim Meyering <meyering@fb.com> | 2014-10-30 12:52:14 -0600 |
---|---|---|
committer | Jim Meyering <meyering@fb.com> | 2014-10-30 12:52:14 -0600 |
commit | c9bd271bb60c6e4d5ad553a3b31cc83b393bf054 (patch) | |
tree | 702b0d8d42c26bbec1fafde297d6cfc5355f7f11 /tests/word-multibyte | |
parent | d512007830d2c7b961269ae18503f4c84cbbd79a (diff) | |
download | grep-c9bd271bb60c6e4d5ad553a3b31cc83b393bf054.tar.gz |
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
Diffstat (limited to 'tests/word-multibyte')
-rwxr-xr-x | tests/word-multibyte | 2 |
1 files changed, 1 insertions, 1 deletions
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 |