mirror of
https://github.com/git/git
synced 2024-08-27 19:49:21 +00:00
t5705: the file:// URL should be absolute
The test misused a URL "file://." to mean "relative to here", which we no longer accept. In a file:// URL, typically there is no host, and RFC1738 says that file:///<path> should be used. Update t5705 to use a working URL. Reported-by: Michael Blume <blume.mike@gmail.com> Signed-off-by: Torsten Bögershausen <tboegi@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
7fa1365c54
commit
f904f6603a
|
@ -46,7 +46,7 @@ test_expect_success CLONE_2GB 'clone - bare' '
|
|||
|
||||
test_expect_success CLONE_2GB 'clone - with worktree, file:// protocol' '
|
||||
|
||||
git clone file://. clone-wt
|
||||
git clone "file://$(pwd)" clone-wt
|
||||
|
||||
'
|
||||
|
||||
|
|
Loading…
Reference in a new issue