summaryrefslogtreecommitdiff
path: root/t/t2005-checkout-index-symlinks.sh
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2021-10-12 15:56:41 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-10-12 18:23:24 -0700
commitb7bcdbdb482d469fec5c7dac0568432f80cd512d (patch)
tree3047f8f1bcb34008e9e390608cd1b903280a0dbb /t/t2005-checkout-index-symlinks.sh
parentleak tests: mark all trace2 tests as passing with SANITIZE=leak (diff)
downloadtgif-b7bcdbdb482d469fec5c7dac0568432f80cd512d.tar.xz
leak tests: mark all checkout-index tests as passing with SANITIZE=leak
Mark some tests that match "*{checkout,switch}*" 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). Unfortunately almost all of those tests fail when compiled with SANITIZE=leak, these only pass because they run "checkout-index", not the main "checkout" command. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2005-checkout-index-symlinks.sh')
-rwxr-xr-xt/t2005-checkout-index-symlinks.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t2005-checkout-index-symlinks.sh b/t/t2005-checkout-index-symlinks.sh
index 9fa5610474..112682a45a 100755
--- a/t/t2005-checkout-index-symlinks.sh
+++ b/t/t2005-checkout-index-symlinks.sh
@@ -8,6 +8,7 @@ test_description='git checkout-index on filesystem w/o symlinks test.
This tests that git checkout-index creates a symbolic link as a plain
file if core.symlinks is false.'
+TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
test_expect_success \