diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-10-12 15:56:37 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-10-12 18:23:24 -0700 |
commit | c150064dbe286eb4f2f39f05c2865cd204eeca26 (patch) | |
tree | 71e78cb7e096936feac74e76db68a1d2080e1ac2 /t/t0002-gitfile.sh | |
parent | Merge branch 'ab/sanitize-leak-ci' into ab/mark-leak-free-tests (diff) | |
download | tgif-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/t0002-gitfile.sh')
-rwxr-xr-x | t/t0002-gitfile.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t0002-gitfile.sh b/t/t0002-gitfile.sh index 8440e6add1..76052cb562 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() { |