[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