git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[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
Previous: Ævar Arnfjörð BjarmasonNext: Elijah Newren
Message 16 of 17 in “leak tests: remaining non-svn non-p4 tests as passing”
  1. 00/15 leak tests: remaining non-svn non-p4 tests as passingÆvar Arnfjörð Bjarmason, Oct 30, 2021
  2. 02/15 leak tests: mark "sort" test as passing SANITIZE=leakÆvar Arnfjörð Bjarmason, Oct 30, 2021
  3. 01/15 leak tests: mark a read-tree test as passing SANITIZE=leakÆvar Arnfjörð Bjarmason, Oct 30, 2021
  4. 03/15 leak tests: mark most gettext tests as passing with SANITIZE=leakÆvar Arnfjörð Bjarmason, Oct 30, 2021
  5. 05/15 leak tests: mark some rev-list tests as passing with SANITIZE=leakÆvar Arnfjörð Bjarmason, Oct 30, 2021
  6. 04/15 leak tests: mark some misc tests as passing with SANITIZE=leakÆvar Arnfjörð Bjarmason, Oct 30, 2021
  7. 07/15 leak tests: mark some update-index tests as passing with SANITIZE=leakÆvar Arnfjörð Bjarmason, Oct 30, 2021
  8. 06/15 leak tests: mark some rev-parse tests as passing with SANITIZE=leakÆvar Arnfjörð Bjarmason, Oct 30, 2021
  9. 08/15 leak tests: mark some notes tests as passing with SANITIZE=leakÆvar Arnfjörð Bjarmason, Oct 30, 2021
  10. 09/15 leak tests: mark some apply tests as passing with SANITIZE=leakÆvar Arnfjörð Bjarmason, Oct 30, 2021
  11. 10/15 leak tests: mark some diff tests as passing with SANITIZE=leakÆvar Arnfjörð Bjarmason, Oct 30, 2021
  12. 11/15 leak tests: mark some add tests as passing with SANITIZE=leakÆvar Arnfjörð Bjarmason, Oct 30, 2021
  13. 12/15 leak tests: mark some clone tests as passing with SANITIZE=leakÆvar Arnfjörð Bjarmason, Oct 30, 2021
  14. 13/15 leak tests: mark some status tests as passing with SANITIZE=leakÆvar Arnfjörð Bjarmason, Oct 30, 2021
  15. 14/15 leak tests: mark some config tests as passing with SANITIZE=leakÆvar Arnfjörð Bjarmason, Oct 30, 2021
  16. 15/15 leak tests: mark some fast-import tests as passing with SANITIZE=leakÆvar Arnfjörð Bjarmason, Oct 30, 2021
  17. Elijah NewrenNov 15, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.