MinGW tests: override 'pwd', too

With MinGW based Git, we must not use the POSIXified version of paths.
So we need to use 'pwd -W' instead of 'pwd' without options.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin
2009-02-05 17:15:31 +01:00
parent d439f6092d
commit db75811cfa
2 changed files with 3 additions and 3 deletions

View File

@@ -107,9 +107,6 @@ test_expect_success 'remove remote' '
)
'
case $(uname -s) in
*MINGW*) pwd() { builtin pwd -W; } ;;
esac
cat > test/expect << EOF
* remote origin
URL: $(pwd)/one

View File

@@ -536,5 +536,8 @@ case $(uname -s) in
find () {
/usr/bin/find "$@"
}
pwd() {
builtin pwd -W
}
;;
esac