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>
Ævar Arnfjörð Bjarmason committed
Oct 12, 2021 at 15:56 UTC
809aeedb0efed3fe6f3e201b43bf916b4aa70f69
4 files changed
+6
t/t3100-ls-tree-restrict.sh
+2
@@ -16,6 +16,8 @@ This test runs git ls-tree with the following in a tree.
16
The new path restriction code should do the right thing for path2 and
17
path2/baz. Also path0/ should snow nothing.
18
'
19
+
20
+TEST_PASSES_SANITIZE_LEAK=true
21
. ./test-lib.sh
22
23
test_expect_success \
t/t3101-ls-tree-dirname.sh
+2
@@ -19,6 +19,8 @@ This test runs git ls-tree with the following in a tree.
19
Test the handling of multiple directories which have matching file
20
entries. Also test odd filename and missing entries handling.
21
'
22
+
23
+TEST_PASSES_SANITIZE_LEAK=true
24
. ./test-lib.sh
25
26
test_expect_success 'setup' '
t/t3102-ls-tree-wildcards.sh
+1
@@ -2,6 +2,7 @@
2
3
test_description='ls-tree with(out) globs'
4
5
+TEST_PASSES_SANITIZE_LEAK=true
6
. ./test-lib.sh
7
8
test_expect_success 'setup' '
t/t3103-ls-tree-misc.sh
+1
@@ -7,6 +7,7 @@ Miscellaneous tests for git ls-tree.
7
8
'
9
10
+TEST_PASSES_SANITIZE_LEAK=true
11
. ./test-lib.sh
12
13
test_expect_success 'setup' '