leak tests: run various "test-tool" tests in t00*.sh SANITIZE=leak

Mark various existing tests in t00*.sh that invoke a "test-tool" with
as passing when git is compiled with SANITIZE=leak.

They'll now be listed as running under the
"GIT_TEST_PASSING_SANITIZE_LEAK=true" test mode (the "linux-leaks" CI
target).

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Ævar Arnfjörð Bjarmason
2021-10-12 15:56:38 +02:00
committed by Junio C Hamano
parent c150064dbe
commit fdc8f79f1f
6 changed files with 7 additions and 0 deletions

View File

@ -2,6 +2,7 @@
test_description='Test parse_pathspec_file()'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
test_expect_success 'one item from stdin' '