Merge branch 'js/test-git-installed'
authorJunio C Hamano <gitster@pobox.com>
Tue, 5 Feb 2019 22:26:15 +0000 (14:26 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 5 Feb 2019 22:26:15 +0000 (14:26 -0800)
Test fix for Windows.

* js/test-git-installed:
tests: explicitly use `test-tool.exe` on Windows

t/test-lib.sh
index a1abb1177a15c85ef7c75f0b9b056a59ff9843e9..9876b4bab0044c73bca5eaccdfa5f6611f3f59b7 100644 (file)
@@ -1154,7 +1154,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'