mirror of
https://github.com/git/git
synced 2024-10-30 04:01:21 +00:00
3eb585c112
Rename the LIBPCRE prerequisite to PCRE. This is for preparation for libpcre2 support, where having just "LIBPCRE" would be confusing as it implies v1 of the library. None of these tests are incompatible between versions 1 & 2 of libpcre, it's less confusing to give them a more general name to make it clear that they work on both library versions. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
19 lines
427 B
Bash
Executable file
19 lines
427 B
Bash
Executable file
#!/bin/sh
|
|
|
|
test_description='grep icase on non-English locales'
|
|
|
|
. ./lib-gettext.sh
|
|
|
|
test_expect_success GETTEXT_ISO_LOCALE 'setup' '
|
|
printf "TILRAUN: Halló Heimur!" >file &&
|
|
git add file &&
|
|
LC_ALL="$is_IS_iso_locale" &&
|
|
export LC_ALL
|
|
'
|
|
|
|
test_expect_success GETTEXT_ISO_LOCALE,PCRE 'grep pcre string' '
|
|
git grep --perl-regexp -i "TILRAUN: H.lló Heimur!" &&
|
|
git grep --perl-regexp -i "TILRAUN: H.LLÓ HEIMUR!"
|
|
'
|
|
|
|
test_done
|