|
Last change
on this file since 2595 was 2595, checked in by bird, 12 years ago |
|
gnu grep version 2.12 (grep-2.12.tar.xz, md5sum=8d2f0346d08b13c18afb81f0e8aa1e2f)
|
|
File size:
421 bytes
|
| Line | |
|---|
| 1 | #!/bin/sh
|
|---|
| 2 | # This was latent in grep-2.8 and earlier because we punted interpretation
|
|---|
| 3 | # of MBCSETs to glibc. However, it becomes apparent as soon as "[à]" is
|
|---|
| 4 | # simplified to "à".
|
|---|
| 5 | . "${srcdir=.}/init.sh"; path_prepend_ ../src
|
|---|
| 6 |
|
|---|
| 7 | printf '\340' > in || framework_failure_
|
|---|
| 8 | fail=0
|
|---|
| 9 |
|
|---|
| 10 | LC_ALL=en_US.UTF-8 grep '[à]' in
|
|---|
| 11 | case $? in
|
|---|
| 12 | 0) fail=1 ;;
|
|---|
| 13 | 1) ;;
|
|---|
| 14 | 2) framework_failure_ unexpected error from grep ;;
|
|---|
| 15 | esac
|
|---|
| 16 |
|
|---|
| 17 | Exit $fail
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.