From d482f01fe1532cb213cbc1150e734d3db4aadf56 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Thu, 18 Oct 2018 11:08:23 +0200 Subject: [PATCH] squash! tests: explicitly use `git.exe` on Windows For the same reason, we need to handle test-tool.exe the same way. Signed-off-by: Johannes Schindelin --- t/test-lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/test-lib.sh b/t/test-lib.sh index d1c7a1076b..5dbd94c60e 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -1106,7 +1106,7 @@ test -d "$GIT_BUILD_DIR"/templates/blt || { error "You haven't built things yet, have you?" } -if ! test -x "$GIT_BUILD_DIR"/t/helper/test-tool +if ! test -x "$GIT_BUILD_DIR"/t/helper/test-tool$X then echo >&2 'You need to build test-tool:' echo >&2 'Run "make t/helper/test-tool" in the source (toplevel) directory'