mirror of
https://github.com/git/git.git
synced 2026-02-04 15:04:45 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user