Handle new t1510 test cases properly with MinGW

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin
2011-01-08 17:06:48 +01:00
parent 5cf480322e
commit fd6937e0e6

View File

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