mirror of
https://github.com/git/git.git
synced 2024-11-24 18:33:43 +08:00
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>
This commit is contained in:
parent
a3c91e088e
commit
70ca472f1f
@ -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 &&
|
||||
|
Loading…
Reference in New Issue
Block a user