leak tests: mark some ls-files tests as passing with SANITIZE=leak

Mark some tests that match "*ls-files*" 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). We still have others that match '*ls-files*" that fail
under SANITIZE=leak.

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:42 +02:00
committed by Junio C Hamano
parent b7bcdbdb48
commit 0b3481c9ab
6 changed files with 10 additions and 0 deletions

View File

@ -2,6 +2,7 @@
test_description='Test the lazy init name hash with various folder structures'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
if test 1 -eq $(test-tool online-cpus)