summaryrefslogtreecommitdiff
path: root/t/t5308-pack-detect-duplicates.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-07-18 20:31:54 (GMT)
committerJunio C Hamano <gitster@pobox.com>2022-07-18 20:31:54 (GMT)
commitf63ac61fbf512ac9446a86bfd9c07b33d4c1e558 (patch)
treeca5508c1b830de8f3ea1f2225c60b89373166e3d /t/t5308-pack-detect-duplicates.sh
parent44357f64f661635661275fe71e194974a3302049 (diff)
parentf40a693450853fda1b121d7d8c082271c54d03fb (diff)
downloadgit-f63ac61fbf512ac9446a86bfd9c07b33d4c1e558.zip
git-f63ac61fbf512ac9446a86bfd9c07b33d4c1e558.tar.gz
git-f63ac61fbf512ac9446a86bfd9c07b33d4c1e558.tar.bz2
Merge branch 'ab/test-tool-leakfix'
Plug various memory leaks in test-tool commands. * ab/test-tool-leakfix: test-tool delta: fix a memory leak test-tool ref-store: fix a memory leak test-tool bloom: fix memory leaks test-tool json-writer: fix memory leaks test-tool regex: call regfree(), fix memory leaks test-tool urlmatch-normalization: fix a memory leak test-tool {dump,scrap}-cache-tree: fix memory leaks test-tool path-utils: fix a memory leak test-tool test-hash: fix a memory leak
Diffstat (limited to 't/t5308-pack-detect-duplicates.sh')
-rwxr-xr-xt/t5308-pack-detect-duplicates.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t5308-pack-detect-duplicates.sh b/t/t5308-pack-detect-duplicates.sh
index 693b241..655cafa 100755
--- a/t/t5308-pack-detect-duplicates.sh
+++ b/t/t5308-pack-detect-duplicates.sh
@@ -1,6 +1,8 @@
#!/bin/sh
test_description='handling of duplicate objects in incoming packfiles'
+
+TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
. "$TEST_DIRECTORY"/lib-pack.sh