remove addurl test

addurl --fast used to avoid network, but it always uses it now, getting at
least size. Thus not appropriate for test suite without a lot of work.
This commit is contained in:
Joey Hess 2012-03-06 13:21:46 -04:00
parent ee806c1175
commit b927dfd970

View file

@ -107,7 +107,6 @@ blackbox = TestLabel "blackbox" $ TestList
, test_fsck
, test_migrate
, test_unused
, test_addurl
, test_describe
, test_find
, test_merge
@ -503,13 +502,6 @@ test_unused = "git-annex unused/dropunused" ~: intmpclonerepo $ do
r <- Backend.lookupFile f
return $ fst $ fromJust r
test_addurl :: Test
test_addurl = "git-annex addurl" ~: intmpclonerepo $ do
annexed_notpresent annexedfile
-- can't check download; test suite should not access network,
-- and starting up a web server seems excessive
git_annex "addurl" ["--fast", "http://example.com/nosuchfile"] @? "addurl failed"
test_describe :: Test
test_describe = "git-annex describe" ~: intmpclonerepo $ do
git_annex "describe" [".", "this repo"] @? "describe 1 failed"