Skip to content

Commit 7354ebe

Browse files
committed
Merge pull request #36 from nalla/cvs-test-fixes
mingw: cvs-test-fixes
2 parents 3f560bc + c8f3dbe commit 7354ebe

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

t/t9400-git-cvsserver-server.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ cvs CLI client via git-cvsserver server'
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
if ! test_have_prereq PERL; then
1422
skip_all='skipping git cvsserver tests, perl not available'
1523
test_done

t/t9401-git-cvsserver-crlf.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ repository using cvs CLI client via git-cvsserver server'
1111

1212
. ./test-lib.sh
1313

14+
if test_have_prereq MINGW
15+
then
16+
# Avoid posix-to-windows path mangling
17+
pwd () {
18+
builtin pwd
19+
}
20+
fi
21+
1422
marked_as () {
1523
foundEntry="$(grep "^/$2/" "$1/CVS/Entries")"
1624
if [ x"$foundEntry" = x"" ] ; then

t/t9402-git-cvsserver-refs.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ tags, branches and other git refspecs'
77

88
. ./test-lib.sh
99

10+
if test_have_prereq MINGW
11+
then
12+
# Avoid posix-to-windows path mangling
13+
pwd () {
14+
builtin pwd
15+
}
16+
fi
17+
1018
#########
1119

1220
check_start_tree() {

0 commit comments

Comments
 (0)