dropdrive drops the leading slash, so need fil:///
This commit is contained in:
parent
dbf307e4b8
commit
c1f6ac8fac
1 changed files with 1 additions and 1 deletions
2
Test.hs
2
Test.hs
|
@ -1361,7 +1361,7 @@ test_addurl :: Assertion
|
||||||
test_addurl = intmpclonerepo $ do
|
test_addurl = intmpclonerepo $ do
|
||||||
-- file:// only; this test suite should not hit the network
|
-- file:// only; this test suite should not hit the network
|
||||||
f <- absPath "myurl"
|
f <- absPath "myurl"
|
||||||
let url = replace "\\" "/" ("file://" ++ dropDrive f)
|
let url = replace "\\" "/" ("file:///" ++ dropDrive f)
|
||||||
writeFile f "foo"
|
writeFile f "foo"
|
||||||
git_annex "addurl" [url] @? ("addurl failed on " ++ url)
|
git_annex "addurl" [url] @? ("addurl failed on " ++ url)
|
||||||
let dest = "addurlurldest"
|
let dest = "addurlurldest"
|
||||||
|
|
Loading…
Reference in a new issue