diff options
Diffstat (limited to 't/t0007-git-var.sh')
| -rwxr-xr-x | t/t0007-git-var.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/t/t0007-git-var.sh b/t/t0007-git-var.sh index ff4fd9348c..2b60317758 100755 --- a/t/t0007-git-var.sh +++ b/t/t0007-git-var.sh @@ -2,7 +2,6 @@ test_description='basic sanity checks for git var' -TEST_PASSES_SANITIZE_LEAK=true . ./test-lib.sh sane_unset_all_editors () { @@ -157,7 +156,7 @@ test_expect_success POSIXPERM 'GIT_SHELL_PATH points to a valid executable' ' test_expect_success MINGW 'GIT_SHELL_PATH points to a suitable shell' ' shellpath=$(git var GIT_SHELL_PATH) && case "$shellpath" in - *sh) ;; + [A-Z]:/*/sh.exe) test -f "$shellpath";; *) return 1;; esac ' |
