summaryrefslogtreecommitdiff
path: root/t/t0002-gitfile.sh
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2021-10-12 13:56:37 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-10-13 01:23:24 (GMT)
commitc150064dbe286eb4f2f39f05c2865cd204eeca26 (patch)
tree71e78cb7e096936feac74e76db68a1d2080e1ac2 /t/t0002-gitfile.sh
parent25dc57bac8ea77a12a98df75d2f1296dea9d9fa9 (diff)
downloadgit-c150064dbe286eb4f2f39f05c2865cd204eeca26.zip
git-c150064dbe286eb4f2f39f05c2865cd204eeca26.tar.gz
git-c150064dbe286eb4f2f39f05c2865cd204eeca26.tar.bz2
leak tests: run various built-in tests in t00*.sh SANITIZE=leak
Mark various existing tests in t00*.sh that invoke git built-ins with TEST_PASSES_SANITIZE_LEAK=true 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/t0002-gitfile.sh')
-rwxr-xr-xt/t0002-gitfile.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t0002-gitfile.sh b/t/t0002-gitfile.sh
index 8440e6a..76052cb 100755
--- a/t/t0002-gitfile.sh
+++ b/t/t0002-gitfile.sh
@@ -7,6 +7,7 @@ Verify that plumbing commands work when .git is a file
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
+TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
objpath() {