grep/tests/equiv-classes
Jim Meyering 46e5cc6fb2 tests: skip tests that require MBS support
* tests/init.cfg (require_compiled_in_MB_support): New function.
* tests/char-class-multibyte: Use it here, since this test cannot
succeed without MBS support.
* tests/equiv-classes: Likewise.
* tests/euc-mb: Likewise.
* tests/fgrep-infloop: Likewise.
* tests/init.cfg: Likewise.
* tests/prefix-of-multibyte: Likewise.
* tests/turkish-I: Likewise.
* tests/sjis-mb: Likewise.
2011-09-15 14:07:05 +02:00

14 lines
231 B
Bash
Executable File

#!/bin/sh
# Test that equivalence classes work.
. "${srcdir=.}/init.sh"; path_prepend_ ../src
require_en_utf8_locale_
require_compiled_in_MB_support
LC_ALL=en_US.UTF-8
export LC_ALL
echo à | grep '[[=a=]]' > /dev/null
Exit $?