[PATCH 15/15] leak tests: mark some fast-import tests as passing with SANITIZE=leak
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Oct 30, 2021, 22:24 UTC
- Message-ID
- <patch-15.15-8684fb2b071-20211030T221945Z-avarab@gmail.com>
- In-Reply-To
- <cover-00.15-00000000000-20211030T221945Z-avarab@gmail.com>
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 --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 () {
-- 2.33.1.1570.g069344fdd45