summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorTorsten Bögershausen <tboegi@web.de>2014-11-13 07:36:07 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-11-13 18:41:56 (GMT)
commitf904f6603a0c34645dbb307408e0e4033b5e1113 (patch)
treeecb4196c5b2543ebbf43035bacb2b2553feb083a /t
parent7fa1365c54c28b3cd9375539f381b54061a1880d (diff)
downloadgit-f904f6603a0c34645dbb307408e0e4033b5e1113.zip
git-f904f6603a0c34645dbb307408e0e4033b5e1113.tar.gz
git-f904f6603a0c34645dbb307408e0e4033b5e1113.tar.bz2
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>
Diffstat (limited to 't')
-rwxr-xr-xt/t5705-clone-2gb.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5705-clone-2gb.sh b/t/t5705-clone-2gb.sh
index e9783c3..191d6d3 100755
--- a/t/t5705-clone-2gb.sh
+++ b/t/t5705-clone-2gb.sh
@@ -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
'