t4209: factor out helper function test_log()
commit57b6dc76f28544737b5aa6bddafa2ee5f42047d1
authorRené Scharfe <l.s.r@web.de>
Sat, 22 Mar 2014 17:15:52 +0000 (22 18:15 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Mar 2014 22:11:44 +0000 (24 15:11 -0700)
tree2d7a23f11ea446634c998502b2c1626787fca5bf
parentb0f7c7cf865e6b14ccf90f34b6fde0d08af6b50b
t4209: factor out helper function test_log()

Twelve tests in t4209 follow the same simple pattern for description,
git log call and checking.  Extract that shared logic into a helper
function named test_log.  Test specifications become a lot more
compact, new tests can be added more easily.

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