From 7dd71452e1054c576260b25b5468db45e1c86d01 Mon Sep 17 00:00:00 2001 From: Karsten Blees Date: Wed, 20 May 2015 18:34:22 +0200 Subject: [PATCH] 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 --- t/t7800-difftool.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/t/t7800-difftool.sh b/t/t7800-difftool.sh index ec8bc8c7656fd7..5e5bb10d87881b 100755 --- a/t/t7800-difftool.sh +++ b/t/t7800-difftool.sh @@ -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 &&