summaryrefslogtreecommitdiff
path: root/test.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-03-27 16:55:43 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-03-27 16:55:43 -0400
commit30f427700f9e9d59a83775a049e670cc05f2dee6 (patch)
tree224bdc04fbe08ed02d3801354bbfca8b75b7f4f8 /test.hs
parent3470260a8500b42f805b8263af9c73b99706bb92 (diff)
converted several commands to use Remote
only move and map still to convert
Diffstat (limited to 'test.hs')
-rw-r--r--test.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.hs b/test.hs
index 49f7f2ab9..57eb5e664 100644
--- a/test.hs
+++ b/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]