grep: add tests for grep pattern types being passed to submodules
commit5ee6f1a21b60be8a7c7d24ad6aa60939ca5efbda
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 20 May 2017 21:42:14 +0000 (20 21:42 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sat, 20 May 2017 23:25:37 +0000 (21 08:25 +0900)
treeb43995d9ad3f300dca36a95979aa18aca0f7b5b4
parent5d52a30edaa8bbfd502e88250e3170673b07204b
grep: add tests for grep pattern types being passed to submodules

Add testing for grep pattern types being correctly passed to
submodules. The pattern "(.|.)[\d]" matches differently under
fixed (not at all), and then matches different lines under
basic/extended & perl regular expressions, so this change asserts that
the pattern type is passed along correctly.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7814-grep-recurse-submodules.sh