summaryrefslogtreecommitdiffstats
path: root/t/t2300-cd-to-toplevel.sh
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2021-10-12 15:56:44 +0200
committerJunio C Hamano <gitster@pobox.com>2021-10-13 03:23:24 +0200
commit288a480621656981d5ad1f1e0af438b769821ab3 (patch)
treee58773cf94652ca9ccc3f29ae230ff75afcf2b4c /t/t2300-cd-to-toplevel.sh
parentleak tests: mark some read-tree tests as passing with SANITIZE=leak (diff)
downloadgit-288a480621656981d5ad1f1e0af438b769821ab3.tar.xz
git-288a480621656981d5ad1f1e0af438b769821ab3.zip
leak tests: mark various "generic" tests as passing with SANITIZE=leak
Mark various "generic" tests as passing when git is compiled with SANITIZE=leak. These tests were subjectively picked from the lists of passing tests since they're all small, and test some generic feature such as wildmatch(), commonly used environment variables, ident parsing etc. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2300-cd-to-toplevel.sh')
-rwxr-xr-xt/t2300-cd-to-toplevel.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t2300-cd-to-toplevel.sh b/t/t2300-cd-to-toplevel.sh
index c8de6d8a19..b40eeb263f 100755
--- a/t/t2300-cd-to-toplevel.sh
+++ b/t/t2300-cd-to-toplevel.sh
@@ -2,6 +2,7 @@
test_description='cd_to_toplevel'
+TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
EXEC_PATH="$(git --exec-path)"