-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
protocol v2 tests: fix cleanup logic in main v2 tests
In e52449b (connect: request remote refs using v2, 2018-03-15) when these tests were introduced we used the test_when_finished pattern to clean up, but in most tests added since ba95710 ({fetch,upload}-pack: support filter in protocol v2, 2018-05-03) we've used "rm -rf" at the start of each test. Thus we've gone from tests consistently cleaning up after themselves, to them cleaning up after earlier tests, and some wanting to rely on previous state, and others not. Let's consistently use the test_when_finished pattern again. This required merging one test, and the fixes in the preceding commit. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Loading branch information
Showing
1 changed file
with
18 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters