t6130/t9350: prepare for stringent Win32 path validation
commit35edce205615c553fdc49bcf10b0c91f061c56c9
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 9 Sep 2019 13:43:35 +0000 (9 15:43 +0200)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 5 Dec 2019 14:37:06 +0000 (5 15:37 +0100)
tree371cddfb7f6487d73d001efdba433281e41fde22
parent9102f958ee5254b10c0be72672aa3305bf4f4704
t6130/t9350: prepare for stringent Win32 path validation

On Windows, file names cannot contain asterisks nor newline characters.
In an upcoming commit, we will make this limitation explicit,
disallowing even the creation of commits that introduce such file names.

However, in the test scripts touched by this patch, we _know_ that those
paths won't be checked out, so we _want_ to allow such file names.

Happily, the stringent path validation will be guarded via the
`core.protectNTFS` flag, so all we need to do is to force that flag off
temporarily.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
t/t6130-pathspec-noglob.sh
t/t9350-fast-export.sh