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" &&