]> git.ipfire.org Git - thirdparty/git.git/commit
t5516: clean up cloned and new-wt in denyCurrentBranch and worktrees test
authorPablo Sabater <pabloosabaterr@gmail.com>
Mon, 30 Mar 2026 11:18:21 +0000 (13:18 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Mar 2026 19:52:40 +0000 (12:52 -0700)
commitb310755ecaf4459eddd4f602b3cb02e793c01177
tree7d3bbbdc08e3fa25972e30296d1193f6fc720f21
parent80871f356e88d23cc32cd852fd4a4548e861f47c
t5516: clean up cloned and new-wt in denyCurrentBranch and worktrees test

The 'denyCurrentBranch and worktrees' test creates a 'cloned' and a 'new-wt'
but it doesn't clean them after the test. This makes other tests that use
the same name after this one to fail.

Add test_when_finished to clean them at the end.

Signed-off-by: Pablo Sabater <pabloosabaterr@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5516-fetch-push.sh