Skip to content

Commit d307bce

Browse files
committed
t5516: override MinGW-specific pwd override
This test is susceptible to MSys2's posix-to-windows path mangling; Let's just use POSIX paths throughout and let the tests pass. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 915a1ac commit d307bce

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

t/t5516-fetch-push.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ This test checks the following functionality:
1616

1717
. ./test-lib.sh
1818

19+
if test_have_prereq MINGW
20+
then
21+
# Avoid posix-to-windows path mangling
22+
pwd () {
23+
builtin pwd
24+
}
25+
fi
26+
1927
D=`pwd`
2028

2129
mk_empty () {

0 commit comments

Comments
 (0)