Skip to content

Commit 3b193cd

Browse files
committed
tests: explicitly use test-tool.exe on Windows
In 8abfdf4 (tests: explicitly use `git.exe` on Windows, 2018-11-14), we made sure to use the `.exe` file extension when using an absolute path to `git.exe`, to avoid getting confused with a file or directory in the same place that lacks said file extension. For the same reason, we need to handle test-tool.exe the same way. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 27e3e78 commit 3b193cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/test-lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@ test -d "$GIT_BUILD_DIR"/templates/blt || {
10211021
error "You haven't built things yet, have you?"
10221022
}
10231023

1024-
if ! test -x "$GIT_BUILD_DIR"/t/helper/test-tool
1024+
if ! test -x "$GIT_BUILD_DIR"/t/helper/test-tool$X
10251025
then
10261026
echo >&2 'You need to build test-tool:'
10271027
echo >&2 'Run "make t/helper/test-tool" in the source (toplevel) directory'

0 commit comments

Comments
 (0)