From b74e70b3671b129016beb7ad0a241ecc0590d22e Mon Sep 17 00:00:00 2001 From: Steffen Prohaska Date: Sun, 13 Apr 2008 12:31:32 +0200 Subject: [PATCH] t5505: On MinGW, use Windows path in expected output of "git remote show" "git remote show" prints the Windows path. This commit modifies the expected output to also use the Windows path, instead of the Unix path. Signed-off-by: Steffen Prohaska --- t/t5505-remote.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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)