We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 42bf77c + 255a6f9 commit 279ebd4Copy full SHA for 279ebd4
t/t1800-hook.sh
@@ -157,9 +157,9 @@ test_expect_success 'git hook run a hook with a bad shebang' '
157
write_script bad-hooks/test-hook "/bad/path/no/spaces" </dev/null &&
158
159
# TODO: We should emit the same (or at least a more similar)
160
- # error on Windows and !Windows. See the OS-specific code in
161
- # start_command()
162
- if test_have_prereq !WINDOWS
+ # error on MINGW (essentially Git for Windows) and all other
+ # platforms.. See the OS-specific code in start_command()
+ if test_have_prereq !MINGW
163
then
164
cat >expect <<-\EOF
165
fatal: cannot run bad-hooks/test-hook: ...
0 commit comments