t4018: reduce test files for pattern compilation tests
commitad5070fb363b1e7ee7e1df83a17f4e8e1eb607a0
authorJohannes Sixt <j6t@kdbg.org>
Fri, 21 Mar 2014 21:07:19 +0000 (21 22:07 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Mar 2014 22:03:28 +0000 (21 15:03 -0700)
tree45f05baed010597534eb2881ec631aaa0cf30563
parentf1b75fbaf1380e00668f775f27ba8dd52b78a081
t4018: reduce test files for pattern compilation tests

All test cases that need a file with specific text patterns have been
converted to utilize texts in the t4018/ directory. The remaining tests
in the test script deal only with the validity of the regular
expressions. These tests do not depend on the contents of files that
'git diff' is invoked on. Remove the largish here-document and use only
tiny files.

While we are touching these tests, convert grep to test_i18ngrep as the
texts checked for may undergo translation in the future.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4018-diff-funcname.sh