cocci: apply "pending" index-compatibility to "t/helper/*.c"
[git/debian.git] / t / t7813-grep-icase-iso.sh
blob1227885737b859fd4937f1f78a0a9250f103703c
1 #!/bin/sh
3 test_description='grep icase on non-English locales'
5 TEST_PASSES_SANITIZE_LEAK=true
6 . ./lib-gettext.sh
8 test_expect_success GETTEXT_ISO_LOCALE 'setup' '
9 printf "TILRAUN: Halló Heimur!" >file &&
10 git add file &&
11 LC_ALL="$is_IS_iso_locale" &&
12 export LC_ALL
15 test_expect_success GETTEXT_ISO_LOCALE,PCRE 'grep pcre string' '
16 git grep --perl-regexp -i "TILRAUN: H.lló Heimur!" &&
17 git grep --perl-regexp -i "TILRAUN: H.LLÓ HEIMUR!"
20 test_done