]> git.ipfire.org Git - thirdparty/git.git/commit - t/t5601-clone.sh
mingw: fix t5601-clone.sh
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 27 Jan 2016 16:19:37 +0000 (17:19 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Jan 2016 22:27:19 +0000 (14:27 -0800)
commit3064d5a38c72532e603faed4c63042b375ded2c7
tree5da20da0aed274d32730f5aa57c7427f1aefe5d4
parent4b0abd5c695c87bf600e57b6a5c7d6844707d34c
mingw: fix t5601-clone.sh

Since baaf233 (connect: improve check for plink to reduce false
positives, 2015-04-26), t5601 writes out a `plink.exe` for testing that
is actually a shell script. So the assumption that the `.exe` extension
implies that the file is *not* a shell script is now wrong.

Since there was no love for the idea of allowing `.exe` files to be
shell scripts on Windows, let's go the other way round: *make*
`plink.exe` a real `.exe`.

This fixes t5601-clone.sh in Git for Windows' SDK.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
t/t5601-clone.sh
test-fake-ssh.c [new file with mode: 0644]