diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2010-03-24 10:31:40 +0100 |
---|---|---|
committer | Paolo Bonzini <bonzini@gnu.org> | 2010-03-24 10:31:40 +0100 |
commit | 345ba869fa81b560172505fae12ff89b9e88b082 (patch) | |
tree | 1d0a5d7d517bb9faaa2c4b8bc6868f90b4e5c7e7 | |
parent | 7e110721f800b8b132086c652fff504935b7a36b (diff) | |
download | grep-345ba869fa81b560172505fae12ff89b9e88b082.tar.gz |
tests: fix char-class-multibyte
* tests/char-class-multibyte: Make it pass.
-rw-r--r-- | tests/char-class-multibyte | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/char-class-multibyte b/tests/char-class-multibyte index d77c6de0..5183ad62 100644 --- a/tests/char-class-multibyte +++ b/tests/char-class-multibyte @@ -3,20 +3,20 @@ : ${srcdir=.} . "$srcdir/init.sh"; path_prepend_ ../src -printf 'É\n' > exp1 || framework_failure +printf 'é\n' > exp1 || framework_failure fail=0 for LOC in en_US.UTF-8 $LOCALE_FR_UTF8; do out=out1-$LOC - printf 'á\nç\nÉ\n' | LC_ALL=$LOC grep '[é]' > $out || fail=1 + printf 'á\nç\né\n' | LC_ALL=$LOC grep '[é]' > $out || fail=1 compare $out exp1 || fail=1 done -printf 'é\n' > exp2 || framework_failure +printf 'É\n' > exp2 || framework_failure for LOC in en_US.UTF-8 $LOCALE_FR_UTF8; do out=out2-$LOC - printf 'á\nç\né\n' | LC_ALL=$LOC grep '[É]' > $out || fail=1 + printf 'Á\nÇ\nÉ\n' | LC_ALL=$LOC grep '[É]' > $out || fail=1 compare $out exp2 || fail=1 done |