path: root/t/
diff options
authorJohannes Schindelin <>2016-01-27 16:20:26 (GMT)
committerJunio C Hamano <>2016-01-28 21:36:11 (GMT)
commit4539a8982c4cc5180bd9134de8b1f0f855b53a05 (patch)
tree067f603b435874beb9dfe5637d37eb8d868eadc7 /t/
parentb9f3560c1ebcc26ebde5366e9a0d16eadc01f444 (diff)
mingw: do not bother to test funny file names
MSYS2 actually allows to create files or directories whose names contain tabs, newlines or colors, even if plain Win32 API cannot access them. As we are using an MSYS2 bash to run the tests, such files or directories are created successfully, but Git itself has no chance to work with them because it is a regular Windows program, hence limited by the Win32 API. With this change, on Windows otherwise failing tests in,,,,,,, and are skipped. Signed-off-by: Johannes Schindelin <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 't/')
1 files changed, 1 insertions, 1 deletions
diff --git a/t/ b/t/
index 9d90d2c..11e7526 100755
--- a/t/
+++ b/t/
@@ -14,7 +14,7 @@ test_expect_success \
git add -- foo bar baz 'space embedded' -q &&
git commit -m 'add normal files'"
-if touch -- 'tab embedded' 'newline
+if test_have_prereq !MINGW && touch -- 'tab embedded' 'newline
embedded' 2>/dev/null
test_set_prereq FUNNYNAMES