diff --git a/t/t5505-remote.sh b/t/t5505-remote.sh index 0a7fea865d..ddfa4740ed 100755 --- a/t/t5505-remote.sh +++ b/t/t5505-remote.sh @@ -97,9 +97,13 @@ test_expect_success 'remove remote' ' ) ' +case $(uname -s) in +*MINGW*) PWD="pwd -W";; +*) PWD=pwd;; +esac cat > test/expect << EOF * remote origin - URL: $(pwd)/one/.git + URL: $($PWD)/one/.git Remote branch merged with 'git pull' while on branch master master New remote branch (next fetch will store in remotes/origin)