Skip to content

Commit 809aeed

Browse files
avargitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent fdc8f79 commit 809aeed

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

t/t3100-ls-tree-restrict.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ This test runs git ls-tree with the following in a tree.
1616
The new path restriction code should do the right thing for path2 and
1717
path2/baz. Also path0/ should snow nothing.
1818
'
19+
20+
TEST_PASSES_SANITIZE_LEAK=true
1921
. ./test-lib.sh
2022

2123
test_expect_success \

t/t3101-ls-tree-dirname.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ This test runs git ls-tree with the following in a tree.
1919
Test the handling of multiple directories which have matching file
2020
entries. Also test odd filename and missing entries handling.
2121
'
22+
23+
TEST_PASSES_SANITIZE_LEAK=true
2224
. ./test-lib.sh
2325

2426
test_expect_success 'setup' '

t/t3102-ls-tree-wildcards.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
test_description='ls-tree with(out) globs'
44

5+
TEST_PASSES_SANITIZE_LEAK=true
56
. ./test-lib.sh
67

78
test_expect_success 'setup' '

t/t3103-ls-tree-misc.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Miscellaneous tests for git ls-tree.
77
88
'
99

10+
TEST_PASSES_SANITIZE_LEAK=true
1011
. ./test-lib.sh
1112

1213
test_expect_success 'setup' '

0 commit comments

Comments
 (0)