mirror of
https://github.com/git/git.git
synced 2026-03-14 02:43:25 +01:00
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:
@@ -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
|
||||
'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user