leak tests: mark all ls-tree tests as passing with SANITIZE=leak

Mark those tests that match "*ls-tree*" 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:39 +02:00
committed by Junio C Hamano
parent fdc8f79f1f
commit 809aeedb0e
4 changed files with 6 additions and 0 deletions

View File

@ -16,6 +16,8 @@ This test runs git ls-tree with the following in a tree.
The new path restriction code should do the right thing for path2 and The new path restriction code should do the right thing for path2 and
path2/baz. Also path0/ should snow nothing. path2/baz. Also path0/ should snow nothing.
' '
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success \ test_expect_success \

View File

@ -19,6 +19,8 @@ This test runs git ls-tree with the following in a tree.
Test the handling of multiple directories which have matching file Test the handling of multiple directories which have matching file
entries. Also test odd filename and missing entries handling. entries. Also test odd filename and missing entries handling.
' '
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'setup' ' test_expect_success 'setup' '

View File

@ -2,6 +2,7 @@
test_description='ls-tree with(out) globs' test_description='ls-tree with(out) globs'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'setup' ' test_expect_success 'setup' '

View File

@ -7,6 +7,7 @@ Miscellaneous tests for git ls-tree.
' '
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'setup' ' test_expect_success 'setup' '