mingw: Fix CVS-related tests

The CVS tests expect `pwd` to return a POSIX-style directory. Let's skip
our MinGW-specific override to let `pwd` output a Windows-style directory
for that reason.

Helped-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: 마누엘 <nalla@hamal.uberspace.de>
This commit is contained in:
마누엘
2015-03-10 12:50:57 +01:00
committed by Johannes Schindelin
parent 33c625e689
commit 12adcecfd0
3 changed files with 24 additions and 0 deletions

View File

@@ -10,6 +10,14 @@ cvs CLI client via git-cvsserver server'
. ./test-lib.sh
if test_have_prereq MINGW
then
# Avoid posix-to-windows path mangling
pwd () {
builtin pwd
}
fi
if ! test_have_prereq PERL; then
skip_all='skipping git cvsserver tests, perl not available'
test_done

View File

@@ -11,6 +11,14 @@ repository using cvs CLI client via git-cvsserver server'
. ./test-lib.sh
if test_have_prereq MINGW
then
# Avoid posix-to-windows path mangling
pwd () {
builtin pwd
}
fi
marked_as () {
foundEntry="$(grep "^/$2/" "$1/CVS/Entries")"
if [ x"$foundEntry" = x"" ] ; then

View File

@@ -7,6 +7,14 @@ tags, branches and other git refspecs'
. ./test-lib.sh
if test_have_prereq MINGW
then
# Avoid posix-to-windows path mangling
pwd () {
builtin pwd
}
fi
#########
check_start_tree() {