diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-10-12 15:56:45 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-10-13 03:23:24 +0200 |
commit | 7ff24785cb7e1655f1295dce3e0269348bbbbe02 (patch) | |
tree | b2dedbdaba4b0d4ad497f59837d73297f145135e /t/t4025-hunk-header.sh | |
parent | leak tests: mark various "generic" tests as passing with SANITIZE=leak (diff) | |
download | git-7ff24785cb7e1655f1295dce3e0269348bbbbe02.tar.xz git-7ff24785cb7e1655f1295dce3e0269348bbbbe02.zip |
leak tests: mark some misc tests as passing with SANITIZE=leak
Mark some tests that match "*{mktree,commit,diff,grep,rm,merge,hunk}*"
as passing when git is compiled with SANITIZE=leak. They'll now be
listed as running under the "GIT_TEST_PASSING_SANITIZE_LEAK=true" test
mode (the "linux-leaks" CI target).
These were picked because we still have a lot of failures in adjacent
areas, and we didn't have much if any coverage of e.g. grep and diff
before this change, we could still whitelist a lot more tests, but
let's stop for now.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4025-hunk-header.sh')
-rwxr-xr-x | t/t4025-hunk-header.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t4025-hunk-header.sh b/t/t4025-hunk-header.sh index 35578f2bb9..6356961de4 100755 --- a/t/t4025-hunk-header.sh +++ b/t/t4025-hunk-header.sh @@ -2,6 +2,7 @@ test_description='diff hunk header truncation' +TEST_PASSES_SANITIZE_LEAK=true . ./test-lib.sh N='日本語' |