t4209: factor out helper function test_log_icase()
commite7880fcd41dd4424a79efb0a939f1c008c5519c0
authorRené Scharfe <l.s.r@web.de>
Sat, 22 Mar 2014 17:15:53 +0000 (22 18:15 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Mar 2014 22:12:42 +0000 (24 15:12 -0700)
tree80fcaa37b7fe2f2ee9b63b222116d29e17b63458
parent57b6dc76f28544737b5aa6bddafa2ee5f42047d1
t4209: factor out helper function test_log_icase()

Reduce code duplication by introducing test_log_icase() that runs the
same test with both --regexp-ignore-case and -i.  The specification of
the four basic test scenarios (matching/nomatching combined with case
sensitive/insensitive) becomes easier to read and write.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4209-log-pickaxe.sh