Staging
v0.5.1
https://github.com/git/git
Raw File
Tip revision: d9589d4051537c387b70dc76e430c61b4c85a86d authored by Johannes Schindelin on 04 December 2019, 22:05:10 UTC
Git 2.22.2
Tip revision: d9589d4
t7813-grep-icase-iso.sh
#!/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
back to top