@matheusbsbs / matheus-bagliano / commits / 70ca472f1f
Fork 0

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 <raa.lkml@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Alex Riesen committed Jun 4, 2008 at 00:16 UTC 70ca472f1f6745563b55cac9aa38bb58f83112ef
1 file changed +1 -1
t/t5516-fetch-push.sh
+1 -1
@@ -146,7 +146,7 @@ test_expect_success 'push with wildcard' '
146 test_expect_success 'push with insteadOf' '
147 mk_empty &&
148 TRASH="$(pwd)/" &&
149 - git config "url./$TRASH/.insteadOf" trash/ &&
149 + git config "url.$TRASH.insteadOf" trash/ &&
150 git push trash/testrepo refs/heads/master:refs/remotes/origin/master &&
151 (
152 cd testrepo &&