summaryrefslogtreecommitdiff
path: root/line-log.h
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2022-03-07 13:48:53 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-03-07 13:27:39 -0800
commita182f69d5fb9fafead59eedbeb8a88a404ce3360 (patch)
treefdaa4269b4f543282399991e9fbecf568896ff37 /line-log.h
parenttests: change some 'test $(git) = "x"' to test_cmp (diff)
downloadtgif-a182f69d5fb9fafead59eedbeb8a88a404ce3360.tar.xz
tests: use "test_stdout_line_count", not "test $(git [...] | wc -l)"
Use the test_stdout_line_count helper added in cdff1bb5a3d (test-lib-functions: introduce test_stdout_line_count, 2021-07-04) so that we'll spot if git itself dies, segfaults etc in these expressions. Because we didn't distinguish these failure conditions before I'd mistakenly marked these tests as passing under SANITIZE=leak in dd9cede9136 (leak tests: mark some rev-list tests as passing with SANITIZE=leak, 2021-10-31). While we're at it let's re-indent these lines to match our usual style, as we're having to change all of them anyway. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'line-log.h')
0 files changed, 0 insertions, 0 deletions