leak tests: mark some clone tests as passing with SANITIZE=leak

Mark some tests that match "*clone*" 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-31 00:24:21 +02:00 committed by Junio C Hamano
parent aecb85bdd1
commit e2efbd2381
2 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,7 @@
test_description=clone
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
test_expect_success setup '

View File

@ -1,6 +1,8 @@
#!/bin/sh
test_description='check output directory names used by git-clone'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
# we use a fake ssh wrapper that ignores the arguments