From 01d9b2d0d678204761b2869b5f9ab28f26674fec Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Sat, 26 Jul 2008 23:04:41 +0200 Subject: [PATCH] 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 --- t/t5602-clone-remote-exec.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/t5602-clone-remote-exec.sh b/t/t5602-clone-remote-exec.sh index 8367a6845f..ce64449c0b 100755 --- a/t/t5602-clone-remote-exec.sh +++ b/t/t5602-clone-remote-exec.sh @@ -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 ' -- 2.11.4.GIT