diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-10-07 13:01:34 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-10-08 01:40:15 +0300 |
commit | 6ad66ab45e5e23378a6abf2c1d680b4cf8b85877 (patch) | |
tree | 7e00f63dfb94b450e0bea297d3ada7eaa6757a3d /t/t0064-oid-array.sh | |
parent | 926d2330357a4ee7247b83ec4fd1ed6dba72c54e (diff) |
tests: fix test-oid-array leak, test in SANITIZE=leak
Fix a trivial memory leak present ever since 38d905bf585 (sha1-array:
add test-sha1-array and basic tests, 2014-10-01), now that that's
fixed we can test this under GIT_TEST_PASSING_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/t0064-oid-array.sh')
-rwxr-xr-x | t/t0064-oid-array.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t0064-oid-array.sh b/t/t0064-oid-array.sh index 2e5438ccda..88c89e8f48 100755 --- a/t/t0064-oid-array.sh +++ b/t/t0064-oid-array.sh @@ -1,6 +1,8 @@ #!/bin/sh test_description='basic tests for the oid array implementation' + +TEST_PASSES_SANITIZE_LEAK=true . ./test-lib.sh echoid () { |