]> git.ipfire.org Git - thirdparty/git.git/commit
gc + p4 tests: use "test_hook", remove sub-shells
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 17 Mar 2022 10:13:12 +0000 (11:13 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 17 Mar 2022 15:40:26 +0000 (08:40 -0700)
commitd7ef03681fbcbd0314d91c71d60f79a51338690a
tree0e2631623a87590a2a630fbcf4afe0063028aea5
parentf818f7f725e4a49296e9e28cf3bb26aa8a1bf3ba
gc + p4 tests: use "test_hook", remove sub-shells

Refactor the repository setup code for tests that test hooks the use
of sub-shells when setting up the test repository and hooks, and use
the "test_hook" wrapper instead of "write_scripts".

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6500-gc.sh
t/t9800-git-p4-basic.sh