Skip to content

Commit f022d97

Browse files
kbleesdscho
authored andcommitted
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 <[email protected]>
1 parent ab43003 commit f022d97

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

t/t7800-difftool.sh

+8
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ Testing basic diff tool invocation
1010

1111
. ./test-lib.sh
1212

13+
if test_have_prereq MINGW
14+
then
15+
# Avoid posix-to-windows path mangling
16+
pwd () {
17+
builtin pwd
18+
}
19+
fi
20+
1321
difftool_test_setup ()
1422
{
1523
test_config diff.tool test-tool &&

0 commit comments

Comments
 (0)