Skip to content

Commit a9b3c2b

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 3153820 commit a9b3c2b

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
@@ -15,6 +15,14 @@ This test checks the following functionality:
1515

1616
. ./test-lib.sh
1717

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

2028
mk_empty () {

0 commit comments

Comments
 (0)