mirror of
https://github.com/git/git
synced 2024-08-25 02:35:46 +00:00
Merge branch 'ad/t1800-cygwin'
Test fix. * ad/t1800-cygwin: t1800: correct test to handle Cygwin
This commit is contained in:
commit
279ebd4761
|
@ -157,9 +157,9 @@ test_expect_success 'git hook run a hook with a bad shebang' '
|
|||
write_script bad-hooks/test-hook "/bad/path/no/spaces" </dev/null &&
|
||||
|
||||
# TODO: We should emit the same (or at least a more similar)
|
||||
# error on Windows and !Windows. See the OS-specific code in
|
||||
# start_command()
|
||||
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
|
||||
then
|
||||
cat >expect <<-\EOF
|
||||
fatal: cannot run bad-hooks/test-hook: ...
|
||||
|
|
Loading…
Reference in a new issue