summaryrefslogtreecommitdiff
path: root/t/t4100-apply-stat.sh
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2021-10-30 22:24:18 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-11-01 18:23:08 (GMT)
commitf54f48fc074510a93a18d889a9c3f5dc108efb47 (patch)
treeee8a7922385c9efa12e568a2b7da69d2b946ddd9 /t/t4100-apply-stat.sh
parentca089724952911b44b9ee79e62fa6ce10d543bb4 (diff)
downloadgit-f54f48fc074510a93a18d889a9c3f5dc108efb47.zip
git-f54f48fc074510a93a18d889a9c3f5dc108efb47.tar.gz
git-f54f48fc074510a93a18d889a9c3f5dc108efb47.tar.bz2
leak tests: mark some apply tests as passing with SANITIZE=leak
Mark some tests that match "*apply*" 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>
Diffstat (limited to 't/t4100-apply-stat.sh')
-rwxr-xr-xt/t4100-apply-stat.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t4100-apply-stat.sh b/t/t4100-apply-stat.sh
index 9b433de..d503547 100755
--- a/t/t4100-apply-stat.sh
+++ b/t/t4100-apply-stat.sh
@@ -6,6 +6,8 @@
test_description='git apply --stat --summary test, with --recount
'
+
+TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
UNC='s/^\(@@ -[1-9][0-9]*\),[0-9]* \(+[1-9][0-9]*\),[0-9]* @@/\1,999 \2,999 @@/'