Skip to contentSkip to conversation

mingw: skip a test in t9130 that cannot pass on Windows

PATCH Johannes Schindelin 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

On Windows, Git itself has no clue about POSIX paths, but its shell scripts do. In this instance, we get mixed paths as a result, and when comparing the path of the author file, we get a mismatch that is entirely due to the POSIX path vs Windows path clash.

Let's just skip this test so that t9130-git-svn-authors-file.sh passes in Git for Windows' SDK.

---

Oh crap. Of course I forgot this one... Ideally, this would have been the second-to-last patch, i.e. between "mingw: handle the missing POSIXPERM prereq in t9124" and "mingw: skip a test in t9130 that cannot pass on Windows".

 t/t9130-git-svn-authors-file.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
t/t9130-git-svn-authors-file.sh +1 -1
index d306b77..4126481 100755
@@ -91,7 +91,7 @@ test_expect_success 'fetch continues after authors-file is fixed' '
 	)
 	'
 
-test_expect_success 'fresh clone with svn.authors-file in config' '
+test_expect_success !MINGW 'fresh clone with svn.authors-file in config' '
 	(
 		rm -r "$GIT_DIR" &&
 		test x = x"$(git config svn.authorsfile)" &&
Signature · 1 line
2.7.0.windows.1.7.g55a05c8