From: Alex Riesen Date: Tue, 3 Jun 2008 22:16:26 +0000 (+0200) Subject: Fix t5516 on cygwin: it does not like double slashes at the beginning of a path X-Git-Tag: v1.5.6-rc2~16 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=70ca472f1f6745563b55cac9aa38bb58f83112ef;p=git.git Fix t5516 on cygwin: it does not like double slashes at the beginning of a path The double slashes "//" result from url./$TRASH/. expansion and the current directory, which even in cygwin contains "/" as first character. In cygwin such strings have special meaning: UNC path. Accessing an UNC path built for test purpose usually fails. Signed-off-by: Alex Riesen Signed-off-by: Junio C Hamano --- diff --git a/t/t5516-fetch-push.sh b/t/t5516-fetch-push.sh index c5c59335f..6805032a0 100755 --- a/t/t5516-fetch-push.sh +++ b/t/t5516-fetch-push.sh @@ -146,7 +146,7 @@ test_expect_success 'push with wildcard' ' test_expect_success 'push with insteadOf' ' mk_empty && TRASH="$(pwd)/" && - git config "url./$TRASH/.insteadOf" trash/ && + git config "url.$TRASH.insteadOf" trash/ && git push trash/testrepo refs/heads/master:refs/remotes/origin/master && ( cd testrepo &&