leak tests: mark some diff tests as passing with SANITIZE=leak

Mark some tests that match "*diff*" 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).

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Ævar Arnfjörð Bjarmason
2021-10-31 00:24:19 +02:00
committed by Junio C Hamano
parent f54f48fc07
commit 16d4bd4f14
25 changed files with 38 additions and 0 deletions

View File

@ -4,6 +4,7 @@
#
test_description='diff honors config option, diff.suppressBlankEmpty'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
cat <<\EOF >expected ||