[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git
Subject:    [PATCH 05/15] leak tests: mark some rev-list tests as passing with SANITIZE=leak
From:       Ævar Arnfjörð Bjarmason  <avarab () gmail ! com>
Date:       2021-10-30 22:24:14
Message-ID: patch-05.15-fe2b05c7031-20211030T221945Z-avarab () gmail ! com
[Download RAW message or body]

Mark some tests that match "*rev-list*" 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/t6005-rev-list-count.sh              | 1 +
 t/t6102-rev-list-unexpected-objects.sh | 1 +
 2 files changed, 2 insertions(+)

diff --git a/t/t6005-rev-list-count.sh b/t/t6005-rev-list-count.sh
index 0b64822bf62..d763de0041c 100755
--- a/t/t6005-rev-list-count.sh
+++ b/t/t6005-rev-list-count.sh
@@ -2,6 +2,7 @@
 
 test_description='git rev-list --max-count and --skip test'
 
+TEST_PASSES_SANITIZE_LEAK=true
 . ./test-lib.sh
 
 test_expect_success 'setup' '
diff --git a/t/t6102-rev-list-unexpected-objects.sh b/t/t6102-rev-list-unexpected-objects.sh
index 52cde097dd5..6f0902b8638 100755
--- a/t/t6102-rev-list-unexpected-objects.sh
+++ b/t/t6102-rev-list-unexpected-objects.sh
@@ -2,6 +2,7 @@
 
 test_description='git rev-list should handle unexpected object types'
 
+TEST_PASSES_SANITIZE_LEAK=true
 . ./test-lib.sh
 
 test_expect_success 'setup well-formed objects' '
-- 
2.33.1.1570.g069344fdd45

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic