]> git.99rst.org Git - git.git/commit
http tests: use "test_hook" for "smart" and "dumb" http tests
authorÆvar Arnfjörð Bjarmason <redacted>
Thu, 17 Mar 2022 10:13:18 +0000 (11:13 +0100)
committerJunio C Hamano <redacted>
Thu, 17 Mar 2022 21:42:14 +0000 (14:42 -0700)
commitf6db603c7a051d9d0d1ce135673ce77a5b8b7a4c
treee396f7a9a3121dee5dec8182a15a319b869342a3
parentc39176b1601a2005222c797912281a5a2dad8dcc
http tests: use "test_hook" for "smart" and "dumb" http tests

Change the http tests to use "test_hook" insteadd of
"write_script". In both cases we can get rid of sub-shelling. For
"t/t5550-http-fetch-dumb.sh" add a trivial helper which sets up the
hook and calls "update-server-info".

Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t5541-http-push-smart.sh
t/t5550-http-fetch-dumb.sh
git clone https://git.99rst.org/PROJECT