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>

Ævar Arnfjörð Bjarmason committed Oct 31, 2021 at 00:24 UTC 94882d1245ea1eb8b96e9381da476c195e323163
2 files changed +2
t/t7511-status-index.sh
+1
@@ -2,6 +2,7 @@
2
3 test_description='git status with certain file name lengths'
4
5 +TEST_PASSES_SANITIZE_LEAK=true
6 . ./test-lib.sh
7
8 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"
t/t7515-status-symlinks.sh
+1
@@ -2,6 +2,7 @@
2
3 test_description='git status and symlinks'
4
5 +TEST_PASSES_SANITIZE_LEAK=true
6 . ./test-lib.sh
7
8 test_expect_success 'setup' '