Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-07-01 13:37:35 +0300
committerJunio C Hamano <gitster@pobox.com>2022-07-01 23:38:49 +0300
commit1c343e5aef0599a7a4816aa7fce5c7c84c10388d (patch)
tree6d6c0c5deda0004b607aff2a015c03e01e8be083 /t/t0110-urlmatch-normalization.sh
parent9afa46d4a677c806f414f363daee07a9e6a44f0b (diff)
test-tool urlmatch-normalization: fix a memory leak
Fix a memory leak in "test-tool urlmatch-normalization", as a result we can mark the corresponding test as passing with SANITIZE=leak using "TEST_PASSES_SANITIZE_LEAK=true". Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0110-urlmatch-normalization.sh')
-rwxr-xr-xt/t0110-urlmatch-normalization.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t0110-urlmatch-normalization.sh b/t/t0110-urlmatch-normalization.sh
index 4dc9fecf72..12d817fbd3 100755
--- a/t/t0110-urlmatch-normalization.sh
+++ b/t/t0110-urlmatch-normalization.sh
@@ -1,6 +1,8 @@
#!/bin/sh
test_description='urlmatch URL normalization'
+
+TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
# The base name of the test url files