Re: [PATCH 04/10] t4209: use helper functions to test --grep

2014-03-24 Thread Junio C Hamano
René Scharfe l@web.de writes: -test_expect_success 'log --grep -i' ' - git log -i --grep=InItial --format=%H actual - test_cmp expect_initial actual -' +test_log expect_initial --grep initial +test_log expect_nomatch --grep InItial This, and the next --author one,

Re: [PATCH 04/10] t4209: use helper functions to test --grep

2014-03-24 Thread Jeff King
On Mon, Mar 24, 2014 at 11:22:58AM -0700, Junio C Hamano wrote: René Scharfe l@web.de writes: -test_expect_success 'log --grep -i' ' - git log -i --grep=InItial --format=%H actual - test_cmp expect_initial actual -' +test_log expect_initial --grep initial +test_log

Re: [PATCH 04/10] t4209: use helper functions to test --grep

2014-03-24 Thread René Scharfe
Am 24.03.2014 22:14, schrieb Jeff King: On Mon, Mar 24, 2014 at 11:22:58AM -0700, Junio C Hamano wrote: René Scharfe l@web.de writes: -test_expect_success 'log --grep -i' ' - git log -i --grep=InItial --format=%H actual - test_cmp expect_initial actual -' +test_log

[PATCH 04/10] t4209: use helper functions to test --grep

2014-03-22 Thread René Scharfe
Also add tests for non-matching cases. Signed-off-by: Rene Scharfe l@web.de --- t/t4209-log-pickaxe.sh | 18 -- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/t/t4209-log-pickaxe.sh b/t/t4209-log-pickaxe.sh index dd911c2..873a10e 100755 ---