|
Last change
on this file since 3670 was 3529, checked in by bird, 4 years ago |
|
Imported grep 3.7 from grep-3.7.tar.gz (sha256: c22b0cf2d4f6bbe599c902387e8058990e1eee99aef333a203829e5fd3dbb342), applying minimal auto-props.
|
-
Property svn:executable
set to
*
|
|
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.