use strpbrk(3) to search for characters from a given set
[git/debian.git] / t / t7813-grep-icase-iso.sh
blob701e08a8e5941d711ffbef52da972acb7ab9a41e
1 #!/bin/sh
3 test_description='grep icase on non-English locales'
5 . ./lib-gettext.sh
7 test_expect_success GETTEXT_ISO_LOCALE 'setup' '
8 printf "TILRAUN: Halló Heimur!" >file &&
9 git add file &&
10 LC_ALL="$is_IS_iso_locale" &&
11 export LC_ALL
14 test_expect_success GETTEXT_ISO_LOCALE,PCRE 'grep pcre string' '
15 git grep --perl-regexp -i "TILRAUN: H.lló Heimur!" &&
16 git grep --perl-regexp -i "TILRAUN: H.LLÓ HEIMUR!"
19 test_done