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 &&
|
write_script bad-hooks/test-hook "/bad/path/no/spaces" </dev/null &&
|
||||||
|
|
||||||
# TODO: We should emit the same (or at least a more similar)
|
# TODO: We should emit the same (or at least a more similar)
|
||||||
# error on Windows and !Windows. See the OS-specific code in
|
# error on MINGW (essentially Git for Windows) and all other
|
||||||
# start_command()
|
# platforms.. See the OS-specific code in start_command()
|
||||||
if test_have_prereq !WINDOWS
|
if test_have_prereq !MINGW
|
||||||
then
|
then
|
||||||
cat >expect <<-\EOF
|
cat >expect <<-\EOF
|
||||||
fatal: cannot run bad-hooks/test-hook: ...
|
fatal: cannot run bad-hooks/test-hook: ...
|
||||||
|
Loading…
Reference in New Issue
Block a user