summaryrefslogtreecommitdiff
path: root/t/t2101-update-index-reupdate.sh
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2021-10-31 00:24:16 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-11-01 11:23:08 -0700
commit977e458cca6960aff0e83914eee3e8f415edb1d5 (patch)
tree542a8bfc643eb16d08697542ac1a3ea90ed32c40 /t/t2101-update-index-reupdate.sh
parentleak tests: mark some rev-parse tests as passing with SANITIZE=leak (diff)
downloadtgif-977e458cca6960aff0e83914eee3e8f415edb1d5.tar.xz
leak tests: mark some update-index tests as passing with SANITIZE=leak
Mark some tests that match "*update-index*" 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/t2101-update-index-reupdate.sh')
-rwxr-xr-xt/t2101-update-index-reupdate.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t2101-update-index-reupdate.sh b/t/t2101-update-index-reupdate.sh
index 6c32d42c8c..e3c7acdbf9 100755
--- a/t/t2101-update-index-reupdate.sh
+++ b/t/t2101-update-index-reupdate.sh
@@ -6,6 +6,7 @@
test_description='git update-index --again test.
'
+TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
test_expect_success 'update-index --add' '