threads / patch / 41262

patch, 19 partsmingw: skip a test in t9130 that cannot pass on Windows

Subject: [PATCH 20/19] mingw: skip a test in t9130 that cannot pass on Windows

## tl;dr

One message between Jan 26, 2016 and Jan 26, 2016. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Johannes Schindelin· Jan 26, 2016, 14:54 UTC · lore

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.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
	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(-)
Show changes to t/t9130-git-svn-authors-file.sh +1 −1
diff --git a/t/t9130-git-svn-authors-file.sh b/t/t9130-git-svn-authors-file.sh
index d306b77..4126481 100755
--- a/t/t9130-git-svn-authors-file.sh
+++ b/t/t9130-git-svn-authors-file.sh
@@ -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)" &&
-- 
2.7.0.windows.1.7.g55a05c8

← back to recent threads