mingw: avoid illegal filename in t9118
commit75e005ec541e46f3cdec15143306c7189fd65a95
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 27 Jan 2016 16:20:11 +0000 (27 17:20 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 28 Jan 2016 21:36:10 +0000 (28 13:36 -0800)
treedf9c2d0b02ff9e93f030c6010b4bfe45c2a9b48b
parentbcb11f19e070d4647efe66400924bdddb65cd936
mingw: avoid illegal filename in t9118

On Windows' file systems, file names with trailing dots are forbidden.
The POSIX emulation layer used by Git for Windows' Subversion emulates
those file names, therefore the test adding the file would actually
succeed, but when we would ask git.exe (which does not leverage the
POSIX emulation layer) to check out the tree, it would fail.

Let's just guard the test using a filename that is illegal on Windows
by the MINGW prereq.

This lets t9118-git-svn-funky-branch-names.sh pass in Git for Windows'
SDK.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9118-git-svn-funky-branch-names.sh