Skip to content

Commit 0aa496b

Browse files
phil-blaingitster
authored andcommitted
test-lib-functions: use 'TEST_SHELL_PATH' in 'test_pause'
3f824e9 (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 <[email protected]> Signed-off-by: Philippe Blain <[email protected]> Acked-by: Elijah Newren <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 225bc32 commit 0aa496b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/test-lib-functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ test_tick () {
139139
# Be sure to remove all invocations of this command before submitting.
140140

141141
test_pause () {
142-
"$SHELL_PATH" <&6 >&5 2>&7
142+
"$TEST_SHELL_PATH" <&6 >&5 2>&7
143143
}
144144

145145
# Wrap git with a debugger. Adding this to a command can make it easier

0 commit comments

Comments
 (0)