]> git.ipfire.org Git - thirdparty/git.git/commit
t5701: add setup test to remove side-effect dependency
authorUsman Akinyemi <usmanakinyemi202@gmail.com>
Sat, 15 Feb 2025 15:50:51 +0000 (21:20 +0530)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Feb 2025 17:05:13 +0000 (09:05 -0800)
commit15ff206863a77e3396f5a1e1ed4910b7b70c9f8d
tree0b6c185efb4b0e5c66a0b97e680b6c35f5b50ae0
parent6aa09fd8726b7e8de37c0187a83c2c0fca280358
t5701: add setup test to remove side-effect dependency

Currently, the "test capability advertisement" test creates some files
with expected content which are used by other tests below it.

To remove that side-effect from this test, let's split up part of
it into a "setup"-type test which creates the files with expected content
which gets reused by multiple tests. This will be useful in a following
commit.

Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Usman Akinyemi <usmanakinyemi202@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5701-git-serve.sh