From 33e782e95907ed2b9f3359d2a70e52eee787d626 Mon Sep 17 00:00:00 2001 From: Patrick Steinhardt Date: Wed, 20 Nov 2024 14:39:53 +0100 Subject: [PATCH] t: mark some tests as leak free Both t5558 and t5601 are leak-free starting with 6dab49b9fb (bundle-uri: plug leak in unbundle_from_file(), 2024-10-10). Mark them accordingly. Signed-off-by: Patrick Steinhardt Signed-off-by: Junio C Hamano --- t/t5558-clone-bundle-uri.sh | 1 + t/t5601-clone.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/t/t5558-clone-bundle-uri.sh b/t/t5558-clone-bundle-uri.sh index 3816ed5058..b488b505b9 100755 --- a/t/t5558-clone-bundle-uri.sh +++ b/t/t5558-clone-bundle-uri.sh @@ -2,6 +2,7 @@ test_description='test fetching bundles with --bundle-uri' +TEST_PASSES_SANITIZE_LEAK=true . ./test-lib.sh . "$TEST_DIRECTORY"/lib-bundle.sh diff --git a/t/t5601-clone.sh b/t/t5601-clone.sh index d0c18660e3..3b5285cfcf 100755 --- a/t/t5601-clone.sh +++ b/t/t5601-clone.sh @@ -5,6 +5,7 @@ test_description=clone GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME +TEST_PASSES_SANITIZE_LEAK=true . ./test-lib.sh X=