t7800: configure $(pwd) for posix-paths on MINGW

In test #49, $(pwd) must match $(readlink), which is an MSys utility.

Signed-off-by: Karsten Blees <blees@dcon.de>
This commit is contained in:
Karsten Blees
2015-05-20 18:34:22 +02:00
committed by Johannes Schindelin
parent 1cd29a3fb8
commit 101c758211

View File

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