Fix t5602-clone-remote-exec on MSYS

MSYS rewrites /something/bin/... into a Windows path that is somewhere
inside the MSYS installation directory. We make the path relative so that
this rewriting is not triggered.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
This commit is contained in:
Johannes Sixt
2008-07-26 23:04:41 +02:00
parent f767fd997f
commit 01d9b2d0d6

View File

@@ -18,8 +18,8 @@ test_expect_success 'clone calls git-upload-pack unqualified with no -u option'
'
test_expect_success 'clone calls specified git-upload-pack with -u option' '
GIT_SSH=./not_ssh git clone -u /something/bin/git-upload-pack localhost:/path/to/repo junk
echo "localhost /something/bin/git-upload-pack '\''/path/to/repo'\''" >expected
GIT_SSH=./not_ssh git clone -u ./something/bin/git-upload-pack localhost:/path/to/repo junk
echo "localhost ./something/bin/git-upload-pack '\''/path/to/repo'\''" >expected
test_cmp expected not_ssh_output
'