git/t/t5411
Ævar Arnfjörð Bjarmason c39176b160 proc-receive hook tests: use "test_hook" instead of "write_script"
Change the t5411/*.sh tests to use the test_hook helper instead of
"write_script". Unfortunately these tests do the setup and test across
different test_expect_success blocks, so we have to use
--clobber (implying --setup) for these.

Let's change those that can use a quoted here-doc to do so while we're
at it.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2022-03-17 14:42:14 -07:00
..
common-functions.sh test: refactor to use "get_abbrev_oid" to get abbrev oid 2021-06-17 14:12:24 +09:00
once-0010-report-status-v1.sh proc-receive hook tests: use "test_hook" instead of "write_script" 2022-03-17 14:42:14 -07:00
test-0000-standard-git-push.sh test: refactor to use "get_abbrev_oid" to get abbrev oid 2021-06-17 14:12:24 +09:00
test-0001-standard-git-push--porcelain.sh test: refactor to use "get_abbrev_oid" to get abbrev oid 2021-06-17 14:12:24 +09:00
test-0002-pre-receive-declined.sh proc-receive hook tests: use "test_hook" instead of "write_script" 2022-03-17 14:42:14 -07:00
test-0003-pre-receive-declined--porcelain.sh proc-receive hook tests: use "test_hook" instead of "write_script" 2022-03-17 14:42:14 -07:00
test-0010-proc-receive-settings.sh receive-pack: new config receive.procReceiveRefs 2020-08-27 12:47:47 -07:00
test-0011-no-hook-error.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0012-no-hook-error--porcelain.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0013-bad-protocol.sh proc-receive hook tests: use "test_hook" instead of "write_script" 2022-03-17 14:42:14 -07:00
test-0014-bad-protocol--porcelain.sh proc-receive hook tests: use "test_hook" instead of "write_script" 2022-03-17 14:42:14 -07:00
test-0020-report-ng.sh proc-receive hook tests: use "test_hook" instead of "write_script" 2022-03-17 14:42:14 -07:00
test-0021-report-ng--porcelain.sh proc-receive hook tests: use "test_hook" instead of "write_script" 2022-03-17 14:42:14 -07:00
test-0022-report-unexpect-ref.sh proc-receive hook tests: use "test_hook" instead of "write_script" 2022-03-17 14:42:14 -07:00
test-0023-report-unexpect-ref--porcelain.sh proc-receive hook tests: use "test_hook" instead of "write_script" 2022-03-17 14:42:14 -07:00
test-0024-report-unknown-ref.sh proc-receive hook tests: use "test_hook" instead of "write_script" 2022-03-17 14:42:14 -07:00
test-0025-report-unknown-ref--porcelain.sh proc-receive hook tests: use "test_hook" instead of "write_script" 2022-03-17 14:42:14 -07:00
test-0026-push-options.sh proc-receive hook tests: use "test_hook" instead of "write_script" 2022-03-17 14:42:14 -07:00
test-0027-push-options--porcelain.sh proc-receive hook tests: use "test_hook" instead of "write_script" 2022-03-17 14:42:14 -07:00
test-0030-report-ok.sh proc-receive hook tests: use "test_hook" instead of "write_script" 2022-03-17 14:42:14 -07:00
test-0031-report-ok--porcelain.sh proc-receive hook tests: use "test_hook" instead of "write_script" 2022-03-17 14:42:14 -07:00
test-0032-report-with-options.sh proc-receive hook tests: use "test_hook" instead of "write_script" 2022-03-17 14:42:14 -07:00
test-0033-report-with-options--porcelain.sh proc-receive hook tests: use "test_hook" instead of "write_script" 2022-03-17 14:42:14 -07:00
test-0034-report-ft.sh proc-receive hook tests: use "test_hook" instead of "write_script" 2022-03-17 14:42:14 -07:00
test-0035-report-ft--porcelain.sh proc-receive hook tests: use "test_hook" instead of "write_script" 2022-03-17 14:42:14 -07:00
test-0036-report-multi-rewrite-for-one-ref.sh proc-receive hook tests: use "test_hook" instead of "write_script" 2022-03-17 14:42:14 -07:00
test-0037-report-multi-rewrite-for-one-ref--porcelain.sh proc-receive hook tests: use "test_hook" instead of "write_script" 2022-03-17 14:42:14 -07:00
test-0038-report-mixed-refs.sh proc-receive hook tests: use "test_hook" instead of "write_script" 2022-03-17 14:42:14 -07:00
test-0039-report-mixed-refs--porcelain.sh proc-receive hook tests: use "test_hook" instead of "write_script" 2022-03-17 14:42:14 -07:00
test-0040-process-all-refs.sh proc-receive hook tests: use "test_hook" instead of "write_script" 2022-03-17 14:42:14 -07:00
test-0041-process-all-refs--porcelain.sh proc-receive hook tests: use "test_hook" instead of "write_script" 2022-03-17 14:42:14 -07:00
test-0050-proc-receive-refs-with-modifiers.sh proc-receive hook tests: use "test_hook" instead of "write_script" 2022-03-17 14:42:14 -07:00