diff mbox series

[15/15] leak tests: mark some fast-import tests as passing with SANITIZE=leak

Message ID patch-15.15-8684fb2b071-20211030T221945Z-avarab@gmail.com (mailing list archive)
State Accepted
Commit 4567e9c5f459182548c69aedcd8ac5ed7bd00977
Headers show
Series leak tests: remaining non-svn non-p4 tests as passing | expand

Commit Message

Ævar Arnfjörð Bjarmason Oct. 30, 2021, 10:24 p.m. UTC
Mark some tests that match "*fast-import*" 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>
---
 t/t9302-fast-import-unpack-limit.sh | 2 ++
 t/t9303-fast-import-compression.sh  | 2 ++
 2 files changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/t/t9302-fast-import-unpack-limit.sh b/t/t9302-fast-import-unpack-limit.sh
index f519e4f1bfe..d8b1f9442e8 100755
--- a/t/t9302-fast-import-unpack-limit.sh
+++ b/t/t9302-fast-import-unpack-limit.sh
@@ -1,5 +1,7 @@ 
 #!/bin/sh
 test_description='test git fast-import unpack limit'
+
+TEST_PASSES_SANITIZE_LEAK=true
 . ./test-lib.sh
 
 test_expect_success 'create loose objects on import' '
diff --git a/t/t9303-fast-import-compression.sh b/t/t9303-fast-import-compression.sh
index 57d916524ec..4f5bf40587c 100755
--- a/t/t9303-fast-import-compression.sh
+++ b/t/t9303-fast-import-compression.sh
@@ -1,6 +1,8 @@ 
 #!/bin/sh
 
 test_description='compression setting of fast-import utility'
+
+TEST_PASSES_SANITIZE_LEAK=true
 . ./test-lib.sh
 
 import_large () {