1#!/bin/sh
23
test_description='grep icase on non-English locales'
45
. ./lib-gettext.sh
67
test_expect_success GETTEXT_ISO_LOCALE 'setup' '
8printf "TILRAUN: Halló Heimur!" >file &&
9git add file &&
10LC_ALL="$is_IS_iso_locale" &&
11export LC_ALL
12'
1314
test_expect_success GETTEXT_ISO_LOCALE,PCRE 'grep pcre string' '
15git grep --perl-regexp -i "TILRAUN: H.lló Heimur!" &&
16git grep --perl-regexp -i "TILRAUN: H.LLÓ HEIMUR!"
17'
1819
test_done