test-lib-functions: use 'TEST_SHELL_PATH' in 'test_pause'
commit0aa496b6d5d8953ed51d5601f4cdf1d4cf19b82c
authorPhilippe Blain <levraiphilippeblain@gmail.com>
Mon, 6 Sep 2021 04:38:58 +0000 (6 04:38 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Sep 2021 17:53:39 +0000 (7 10:53 -0700)
tree0c21f5eaaa25e9bf59035b0a7c56cb2914340ec2
parent225bc32a989d7a22fa6addafd4ce7dcd04675dbf
test-lib-functions: use 'TEST_SHELL_PATH' in 'test_pause'

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>
t/test-lib-functions.sh