leak tests: mark some misc tests as passing with SANITIZE=leak
As in 7ff24785cb7 (leak tests: mark some misc tests as passing with SANITIZE=leak, 2021-10-12) continue marking various miscellaneous tests 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
d96fb140f9dce319aa8c9bbcf9294be2edd4b8a3
17 files changed
+22
t/t1420-lost-found.sh
+2
@@ -4,6 +4,8 @@
4
#
5
6
test_description='Test fsck --lost-found'
7
+
8
+TEST_PASSES_SANITIZE_LEAK=true
9
. ./test-lib.sh
10
11
test_expect_success setup '
t/t1600-index.sh
+1
@@ -2,6 +2,7 @@
2
3
test_description='index file specific tests'
4
5
+TEST_PASSES_SANITIZE_LEAK=true
6
. ./test-lib.sh
7
8
sane_unset GIT_TEST_SPLIT_INDEX
t/t2000-conflict-when-checking-files-out.sh
+1
@@ -21,6 +21,7 @@ test_description='git conflicts when checking files out test.'
21
# path1 is occupied by a non-directory. With "-f" flag, it should remove
22
# the conflicting paths and succeed.
23
24
+TEST_PASSES_SANITIZE_LEAK=true
25
. ./test-lib.sh
26
27
show_files() {
t/t2100-update-cache-badpath.sh
+1
@@ -22,6 +22,7 @@ and tries to git update-index --add the following:
22
All of the attempts should fail.
23
'
24
25
+TEST_PASSES_SANITIZE_LEAK=true
26
. ./test-lib.sh
27
28
mkdir path2 path3
t/t3908-stash-in-worktree.sh
+1
@@ -5,6 +5,7 @@
5
6
test_description='Test git stash in a worktree'
7
8
+TEST_PASSES_SANITIZE_LEAK=true
9
. ./test-lib.sh
10
11
test_expect_success 'setup' '
t/t4007-rename-3.sh
+2
@@ -6,6 +6,8 @@
6
test_description='Rename interaction with pathspec.
7
8
'
9
+
10
+TEST_PASSES_SANITIZE_LEAK=true
11
. ./test-lib.sh
12
. "$TEST_DIRECTORY"/lib-diff.sh ;# test-lib chdir's into trash
13
t/t5002-archive-attr-pattern.sh
+1
@@ -2,6 +2,7 @@
2
3
test_description='git archive attribute pattern tests'
4
5
+TEST_PASSES_SANITIZE_LEAK=true
6
. ./test-lib.sh
7
8
test_expect_exists() {
t/t5200-update-server-info.sh
+1
@@ -2,6 +2,7 @@
2
3
test_description='Test git update-server-info'
4
5
+TEST_PASSES_SANITIZE_LEAK=true
6
. ./test-lib.sh
7
8
test_expect_success 'setup' 'test_commit file'
t/t5307-pack-missing-commit.sh
+1
@@ -2,6 +2,7 @@
2
3
test_description='pack should notice missing commit objects'
4
5
+TEST_PASSES_SANITIZE_LEAK=true
6
. ./test-lib.sh
7
8
test_expect_success setup '
t/t5555-http-smart-common.sh
+1
@@ -2,6 +2,7 @@
2
3
test_description='test functionality common to smart fetch & push'
4
5
+TEST_PASSES_SANITIZE_LEAK=true
6
. ./test-lib.sh
7
8
test_expect_success 'setup' '
t/t5701-git-serve.sh
+1
@@ -5,6 +5,7 @@ test_description='test protocol v2 server commands'
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
test_expect_success 'test capability advertisement' '
t/t5704-protocol-violations.sh
+2
@@ -4,6 +4,8 @@ test_description='Test responses to violations of the network protocol. In most
4
of these cases it will generally be acceptable for one side to break off
5
communications if the other side says something unexpected. We are mostly
6
making sure that we do not segfault or otherwise behave badly.'
7
+
8
+TEST_PASSES_SANITIZE_LEAK=true
9
. ./test-lib.sh
10
11
test_expect_success 'extra delim packet in v2 ls-refs args' '
t/t6136-pathspec-in-bare.sh
+1
@@ -2,6 +2,7 @@
2
3
test_description='diagnosing out-of-scope pathspec'
4
5
+TEST_PASSES_SANITIZE_LEAK=true
6
. ./test-lib.sh
7
8
test_expect_success 'setup a bare and non-bare repository' '
t/t7101-reset-empty-subdirs.sh
+2
@@ -4,6 +4,8 @@
4
#
5
6
test_description='git reset should cull empty subdirs'
7
+
8
+TEST_PASSES_SANITIZE_LEAK=true
9
. ./test-lib.sh
10
. "$TEST_DIRECTORY"/lib-diff-data.sh
11
t/t7103-reset-bare.sh
+2
@@ -1,6 +1,8 @@
1
#!/bin/sh
2
3
test_description='git reset in a bare repository'
4
+
5
+TEST_PASSES_SANITIZE_LEAK=true
6
. ./test-lib.sh
7
8
test_expect_success 'setup non-bare' '
t/t7525-status-rename.sh
+1
@@ -2,6 +2,7 @@
2
3
test_description='git status rename detection options'
4
5
+TEST_PASSES_SANITIZE_LEAK=true
6
. ./test-lib.sh
7
8
test_expect_success 'setup' '
t/t7526-commit-pathspec-file.sh
+1
@@ -2,6 +2,7 @@
2
3
test_description='commit --pathspec-from-file'
4
5
+TEST_PASSES_SANITIZE_LEAK=true
6
. ./test-lib.sh
7
8
test_tick