2 # This would infloop for grep-2.6.1
3 .
"${srcdir=.}/init.sh"; path_prepend_ ..
/src
5 require_en_utf8_locale_
7 require_compiled_in_MB_support
9 encode
() { echo "$1" |
tr ABC
'\357\274\241'; }
11 encode ABC
> in || framework_failure_
14 for LOC
in en_US.UTF-8
$LOCALE_FR_UTF8; do
16 LC_ALL
=$LOC timeout
10s
grep -F "$(encode BC)" in > $out
18 if test $status -eq 0; then
20 elif test $status -eq 1; then
21 compare_dev_null_
/dev
/null
$out