From: Junio C Hamano Date: Fri, 8 May 2026 05:31:03 +0000 (+0900) Subject: t5551: "GIT_TEST_LONG=Yes make test" is broken X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66ae1a48ecebff554762efe63761a70392c5fdf7;p=thirdparty%2Fgit.git t5551: "GIT_TEST_LONG=Yes make test" is broken The "test_expect_success 'tag following always works over v0 http'" test in t5551 fails when it tries to run "git init tags", but this happens only when EXPENSIVE test is allowed to run. This is because the step tries to create a repository with "git init tags" but the EXPENSIVE test that runs way before it creates and leaves around a temporary file "tags". Have the EXPENSIVE test clean it up after itself. Acked-by: Jeff King Signed-off-by: Junio C Hamano --- diff --git a/t/t5551-http-fetch-smart.sh b/t/t5551-http-fetch-smart.sh index 73cf531580..cd44fa52bd 100755 --- a/t/t5551-http-fetch-smart.sh +++ b/t/t5551-http-fetch-smart.sh @@ -481,6 +481,7 @@ test_expect_success 'test allowanysha1inwant with unreachable' ' ' test_expect_success EXPENSIVE 'http can handle enormous ref negotiation' ' + test_when_finished "rm -f tags" && ( cd "$HTTPD_DOCUMENT_ROOT_PATH/repo.git" && create_tags 2001 50000