t5403: refactor rebase post-checkout hook tests
commitbd55eee04b698af6c10c77b24f88601814771ac8
authorPhillip Wood <phillip.wood@dunelm.org.uk>
Wed, 26 Jan 2022 13:05:37 +0000 (26 13:05 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 26 Jan 2022 20:08:52 +0000 (26 12:08 -0800)
tree621c759ffeb8e890e50e3fd1392dadcbcc6abad9
parentae42fa4c03ef0ffe36468f8918b3d404a277da50
t5403: refactor rebase post-checkout hook tests

These tests only test the default backend and do not check that the
arguments passed to the hook are correct. Fix this by running the
tests with both backends and adding checks for the hook arguments.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5403-post-checkout-hook.sh