VirtualBox

source: kBuild/vendor/grep/3.7/tests/bogus-wctob

Last change on this file was 3529, checked in by bird, 3 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
7printf '\340' > in || framework_failure_
8fail=0
9
10LC_ALL=en_US.UTF-8 grep '[à]' in
11case $? in
12 0) fail=1 ;;
13 1) ;;
14 2) framework_failure_ unexpected error from grep ;;
15esac
16
17Exit $fail
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette