3f824e91c8 (t/Makefile: introduce TEST_SHELL_PATH, 2017-12-08)
made it easy to use a different shell for the tests than 'SHELL_PATH'
used at compile time. But 'test_pause' still invokes 'SHELL_PATH'.
If TEST_SHELL_PATH is set, invoke that shell in 'test_pause' for
consistency.
Suggested-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com>
Acked-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
# Be sure to remove all invocations of this command before submitting.
test_pause () {
- "$SHELL_PATH" <&6 >&5 2>&7
+ "$TEST_SHELL_PATH" <&6 >&5 2>&7
}
# Wrap git with a debugger. Adding this to a command can make it easier