summaryrefslogtreecommitdiff
path: root/t/t0007-git-var.sh
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2021-10-12 15:56:37 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-10-12 18:23:24 -0700
commitc150064dbe286eb4f2f39f05c2865cd204eeca26 (patch)
tree71e78cb7e096936feac74e76db68a1d2080e1ac2 /t/t0007-git-var.sh
parentMerge branch 'ab/sanitize-leak-ci' into ab/mark-leak-free-tests (diff)
downloadtgif-c150064dbe286eb4f2f39f05c2865cd204eeca26.tar.xz
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/t0007-git-var.sh')
-rwxr-xr-xt/t0007-git-var.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t0007-git-var.sh b/t/t0007-git-var.sh
index 88b9ae8158..53af92d571 100755
--- a/t/t0007-git-var.sh
+++ b/t/t0007-git-var.sh
@@ -1,6 +1,8 @@
#!/bin/sh
test_description='basic sanity checks for git var'
+
+TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
test_expect_success 'get GIT_AUTHOR_IDENT' '