mirror of
https://github.com/git/git.git
synced 2026-03-13 18:33:25 +01:00
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 <prohaska@zib.de>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user