converted several commands to use Remote
only move and map still to convert
This commit is contained in:
parent
3470260a85
commit
30f427700f
7 changed files with 58 additions and 46 deletions
2
test.hs
2
test.hs
|
@ -334,6 +334,7 @@ test_trust = "git-annex trust/untrust/semitrust" ~: intmpclonerepo $ do
|
|||
git_annex "semitrust" ["-q", repo] @? "semitrust of semitrusted failed"
|
||||
trustcheck Trust.SemiTrusted "semitrusted 2"
|
||||
where
|
||||
repo = "origin"
|
||||
trustcheck expected msg = do
|
||||
present <- annexeval $ do
|
||||
Remotes.readConfigs
|
||||
|
@ -342,7 +343,6 @@ test_trust = "git-annex trust/untrust/semitrust" ~: intmpclonerepo $ do
|
|||
u <- UUID.getUUID r
|
||||
return $ u `elem` l
|
||||
assertBool msg present
|
||||
repo = "origin"
|
||||
|
||||
test_fsck :: Test
|
||||
test_fsck = "git-annex fsck" ~: TestList [basicfsck, withlocaluntrusted, withremoteuntrusted]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue