Re: [PATCH 03/10] leak tests: mark t0000-init.sh as passing with SANITIZE=leak

2 messages, 2 authors, 2021-10-12 · open the first message on its own page

Re: [PATCH 03/10] leak tests: mark t0000-init.sh as passing with SANITIZE=leak

From: Junio C Hamano <hidden>
Date: 2021-10-07 22:35:07

Ævar Arnfjörð Bjarmason  [off-list ref] writes:
Mark "t000-init.sh" as passing when git is compiled with SANITIZE=leak.
"t0000-init.sh", I think.  Why should we have a separate one for
this script, rather than it being a part of [01/10]?
quoted hunk
It'll now be whitelisted as running under the
"GIT_TEST_PASSING_SANITIZE_LEAK=true" test mode (the "linux-leaks" CI
target).

Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
---
 t/t0001-init.sh | 1 +
 1 file changed, 1 insertion(+)
diff --git a/t/t0001-init.sh b/t/t0001-init.sh
index df544bb321f..7603ad2f82b 100755
--- a/t/t0001-init.sh
+++ b/t/t0001-init.sh
@@ -2,6 +2,7 @@
 
 test_description='git init'
 
+TEST_PASSES_SANITIZE_LEAK=true
 . ./test-lib.sh
 
 check_config () {

Re: [PATCH 03/10] leak tests: mark t0000-init.sh as passing with SANITIZE=leak

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2021-10-12 13:39:29

On Thu, Oct 07 2021, Junio C Hamano wrote:
Ævar Arnfjörð Bjarmason  [off-list ref] writes:
quoted
Mark "t000-init.sh" as passing when git is compiled with SANITIZE=leak.
"t0000-init.sh", I think.  Why should we have a separate one for
this script, rather than it being a part of [01/10]?
I figured t0000-init.sh was big & scary compared to the rest, but will
squash.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help