Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Handle new t1501 test case properly with MinGW
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information
dscho authored and patthoyts committed Jun 19, 2012
1 parent 704279b commit 9dc046d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions t/t1501-worktree.sh
Expand Up @@ -339,6 +339,10 @@ test_expect_success 'make_relative_path handles double slashes in GIT_DIR' '
git --git-dir="$(pwd)//repo.git" --work-tree="$(pwd)" add dummy_file git --git-dir="$(pwd)//repo.git" --work-tree="$(pwd)" add dummy_file
' '


test_have_prereq MINGW &&
# make sure to test DOS path on Windows
TRASH_DIRECTORY="$(cd "$TRASH_DIRECTORY" && pwd)"

test_expect_success 'relative $GIT_WORK_TREE and git subprocesses' ' test_expect_success 'relative $GIT_WORK_TREE and git subprocesses' '
GIT_DIR=repo.git GIT_WORK_TREE=repo.git/work \ GIT_DIR=repo.git GIT_WORK_TREE=repo.git/work \
test-subprocess --setup-work-tree rev-parse --show-toplevel >actual && test-subprocess --setup-work-tree rev-parse --show-toplevel >actual &&
Expand Down

0 comments on commit 9dc046d

Please sign in to comment.