summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarthik Nayak <karthik.188@gmail.com>2025-05-20 16:40:12 +0200
committerJunio C Hamano <gitster@pobox.com>2025-05-20 15:09:33 -0700
commit368d8c86f71a1477a079b340fe353b40f7039973 (patch)
treead24bdecd67dc8234de950d8b4557575ff7e8986
parent8613c2bb6cd16ef530dc5dd74d3b818a1ccbf1c0 (diff)
downloadgit-368d8c86f71a1477a079b340fe353b40f7039973.tar.xz
t: remove unexpected SANITIZE_LEAK variables
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>
-rwxr-xr-xt/perf/p5313-pack-objects.sh3
-rwxr-xr-xt/perf/p5314-name-hash.sh3
-rwxr-xr-xt/t6601-path-walk.sh2
3 files changed, 0 insertions, 8 deletions
diff --git a/t/perf/p5313-pack-objects.sh b/t/perf/p5313-pack-objects.sh
index be5229a0ec..786a2c1c6f 100755
--- a/t/perf/p5313-pack-objects.sh
+++ b/t/perf/p5313-pack-objects.sh
@@ -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' '
diff --git a/t/perf/p5314-name-hash.sh b/t/perf/p5314-name-hash.sh
index 4ef0ba7711..235cdfc824 100755
--- a/t/perf/p5314-name-hash.sh
+++ b/t/perf/p5314-name-hash.sh
@@ -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' '
diff --git a/t/t6601-path-walk.sh b/t/t6601-path-walk.sh
index c89b0f1e19..8d187f7279 100755
--- a/t/t6601-path-walk.sh
+++ b/t/t6601-path-walk.sh
@@ -1,7 +1,5 @@
#!/bin/sh
-TEST_PASSES_SANITIZE_LEAK=true
-
test_description='direct path-walk API tests'
. ./test-lib.sh