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

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

Mark some tests that match "*status*" 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/t7511-status-index.sh    | 1 +
 t/t7515-status-symlinks.sh | 1 +
 2 files changed, 2 insertions(+)

diff --git a/t/t7511-status-index.sh b/t/t7511-status-index.sh
index b5fdc048a54..4ffa45a7bf3 100755
--- a/t/t7511-status-index.sh
+++ b/t/t7511-status-index.sh
@@ -2,6 +2,7 @@
 
 test_description='git status with certain file name lengths'
 
+TEST_PASSES_SANITIZE_LEAK=true
 . ./test-lib.sh
 
 files="0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z"
diff --git a/t/t7515-status-symlinks.sh b/t/t7515-status-symlinks.sh
index 9f989be01b9..e3d6bb67bf9 100755
--- a/t/t7515-status-symlinks.sh
+++ b/t/t7515-status-symlinks.sh
@@ -2,6 +2,7 @@
 
 test_description='git status and symlinks'
 
+TEST_PASSES_SANITIZE_LEAK=true
 . ./test-lib.sh
 
 test_expect_success 'setup' '
-- 
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