]> git.ipfire.org Git - thirdparty/git.git/commitdiff
leak tests: mark some fast-import tests as passing with SANITIZE=leak
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 30 Oct 2021 22:24:24 +0000 (00:24 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Nov 2021 18:23:09 +0000 (11:23 -0700)
Mark some tests that match "*fast-import*" 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>
t/t9302-fast-import-unpack-limit.sh
t/t9303-fast-import-compression.sh

index f519e4f1bfe62f9ec550333d400ff4fa888d1bc3..d8b1f9442e8f6e020d2e3ff736cf4853f3b47036 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
 test_description='test git fast-import unpack limit'
+
+TEST_PASSES_SANITIZE_LEAK=true
 . ./test-lib.sh
 
 test_expect_success 'create loose objects on import' '
index 57d916524ecd4125717f8b70b310e965b765571e..4f5bf40587cb03aeed5b564c21780010431008ba 100755 (executable)
@@ -1,6 +1,8 @@
 #!/bin/sh
 
 test_description='compression setting of fast-import utility'
+
+TEST_PASSES_SANITIZE_LEAK=true
 . ./test-lib.sh
 
 import_large () {