]> Kevux Git Server - rit/commit
t5551: "GIT_TEST_LONG=Yes make test" is broken
authorJunio C Hamano <gitster@pobox.com>
Fri, 8 May 2026 05:31:03 +0000 (14:31 +0900)
committerJunio C Hamano <gitster@pobox.com>
Sat, 9 May 2026 02:22:59 +0000 (11:22 +0900)
commit66ae1a48ecebff554762efe63761a70392c5fdf7
tree6fa9a36616cbe53030e06ac6e1ee8715b48901ce
parent67ad42147a7acc2af6074753ebd03d904476118f
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 <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5551-http-fetch-smart.sh