git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jan 26, 2016, 14:54 UTC
Message-ID
<alpine.DEB.2.20.1601261551550.2964@virtualbox>

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(-)
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
Message 1 of 1 in “mingw: skip a test in t9130 that cannot pass on Windows”
  1. 20/19 mingw: skip a test in t9130 that cannot pass on WindowsJohannes Schindelin, Jan 26, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.