VirtualBox

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

Last change on this file 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
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