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

Mark some tests that match "*status*" 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:22 +02:00 committed by Junio C Hamano
parent e2efbd2381
commit 94882d1245
2 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@
test_description='git status with certain file name lengths'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
files="0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z"

View File

@ -2,6 +2,7 @@
test_description='git status and symlinks'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
test_expect_success 'setup' '