aboutsummaryrefslogtreecommitdiffstats
path: root/t/t0060-path-utils.sh
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-07-01 12:37:33 +0200
committerJunio C Hamano <gitster@pobox.com>2022-07-01 13:38:49 -0700
commite287a5b0a434e05de39ede507e5b3fc24f67cbb0 (patch)
tree0ecf887404c2c0314f87aca4a6c7c0f7a660baf2 /t/t0060-path-utils.sh
parenttest-tool test-hash: fix a memory leak (diff)
downloadgit-e287a5b0a434e05de39ede507e5b3fc24f67cbb0.tar.gz
git-e287a5b0a434e05de39ede507e5b3fc24f67cbb0.zip
test-tool path-utils: fix a memory leak
Fix a memory leak in "test-tool path-utils", 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/t0060-path-utils.sh')
-rwxr-xr-xt/t0060-path-utils.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t0060-path-utils.sh b/t/t0060-path-utils.sh
index aa35350b6f..1f2007e62b 100755
--- a/t/t0060-path-utils.sh
+++ b/t/t0060-path-utils.sh
@@ -5,6 +5,7 @@
test_description='Test various path utilities'
+TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
norm_path() {