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

Mark some tests that match "*notes*" 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 ca089724952911b44b9ee79e62fa6ce10d543bb4
3 files changed +3
t/t3302-notes-index-expensive.sh
+1
@@ -8,6 +8,7 @@ test_description='Test commit notes index (expensive!)'
8 GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
9 export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
10
11 +TEST_PASSES_SANITIZE_LEAK=true
12 . ./test-lib.sh
13
14 create_repo () {
t/t3303-notes-subtrees.sh
+1
@@ -5,6 +5,7 @@ test_description='Test commit notes organized in subtrees'
5 GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
6 export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
7
8 +TEST_PASSES_SANITIZE_LEAK=true
9 . ./test-lib.sh
10
11 number_of_commits=100
t/t3320-notes-merge-worktrees.sh
+1
@@ -8,6 +8,7 @@ test_description='Test merging of notes trees in multiple worktrees'
8 GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
9 export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
10
11 +TEST_PASSES_SANITIZE_LEAK=true
12 . ./test-lib.sh
13
14 test_expect_success 'setup commit' '