Skip to content

Commit

Permalink
t7800: configure $(pwd) for posix-paths on MINGW
Browse files Browse the repository at this point in the history
In test msysgit#49, $(pwd) must match $(readlink), which is an MSys utility.

Signed-off-by: Karsten Blees <blees@dcon.de>
  • Loading branch information
kblees authored and dscho committed Jun 10, 2015
1 parent 956c5bf commit 295c813
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions t/t7800-difftool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ Testing basic diff tool invocation

. ./test-lib.sh

if test_have_prereq MINGW
then
# Avoid posix-to-windows path mangling
pwd () {
builtin pwd
}
fi

difftool_test_setup ()
{
test_config diff.tool test-tool &&
Expand Down

0 comments on commit 295c813

Please sign in to comment.