From fd6937e0e6ccb78eb4347c427248e25c2d6739c8 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Sat, 8 Jan 2011 17:06:48 +0100 Subject: [PATCH] Handle new t1510 test cases properly with MinGW Signed-off-by: Johannes Schindelin --- t/t1510-repo-setup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/t/t1510-repo-setup.sh b/t/t1510-repo-setup.sh index c3798ce179..86785147c4 100755 --- a/t/t1510-repo-setup.sh +++ b/t/t1510-repo-setup.sh @@ -39,6 +39,10 @@ test_description='Tests of cwd/prefix/worktree/gitdir setup in all cases' # prefix is NULL. # +test_have_prereq MINGW && +# make sure to test DOS path on Windows +TRASH_DIRECTORY="$(cd "$TRASH_DIRECTORY" && pwd)" + test_repo() { ( cd "$1" && -- 2.11.4.GIT