]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t: remove unexpected SANITIZE_LEAK variables
authorKarthik Nayak <karthik.188@gmail.com>
Tue, 20 May 2025 14:40:12 +0000 (16:40 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 20 May 2025 22:09:33 +0000 (15:09 -0700)
As of 1fc7ddf35b (test-lib: unconditionally enable leak checking,
2024-11-20), both the `GIT_TEST_PASSING_SANITIZE_LEAK` and
`TEST_PASSES_SANITIZE_LEAK` variables no longer have any meaning, the
leak checks are enabled by default. However, some newly added tests
include them by mistake. Let's clean this up.

Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
Acked-by: Justin Tobler <jltobler@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/perf/p5313-pack-objects.sh
t/perf/p5314-name-hash.sh
t/t6601-path-walk.sh

index be5229a0ecdcf564fbdcf4f86fd8ef520691c478..786a2c1c6f5b1a40c01bed0760369e1db4b5e1b8 100755 (executable)
@@ -3,9 +3,6 @@
 test_description='Tests pack performance using bitmaps'
 . ./perf-lib.sh
 
-GIT_TEST_PASSING_SANITIZE_LEAK=0
-export GIT_TEST_PASSING_SANITIZE_LEAK
-
 test_perf_large_repo
 
 test_expect_success 'create rev input' '
index 4ef0ba771143d8edbd0dff08cce3d0c0ee7bb236..235cdfc824ecd0bc39c5f1c2641ebbb33579f35f 100755 (executable)
@@ -3,9 +3,6 @@
 test_description='Tests pack performance using bitmaps'
 . ./perf-lib.sh
 
-GIT_TEST_PASSING_SANITIZE_LEAK=0
-export GIT_TEST_PASSING_SANITIZE_LEAK
-
 test_perf_large_repo
 
 test_size 'paths at head' '
index c89b0f1e19d9fbd6cf33e205f69479c3a8c76c5d..8d187f7279c4de88b46d79545e43f3c22addcdb2 100755 (executable)
@@ -1,7 +1,5 @@
 #!/bin/sh
 
-TEST_PASSES_SANITIZE_LEAK=true
-
 test_description='direct path-walk API tests'
 
 . ./test-lib.sh