diff options
author | Joey Hess <joey@kitenet.net> | 2013-12-15 13:33:09 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-12-15 13:33:09 -0400 |
commit | 6a370c6200758afdc043cfc816da6b2c3987d868 (patch) | |
tree | 3cdf1eada845a3cc5237f7953d947986fef6f8a6 /Test.hs | |
parent | 43cc4f70de576ce155f977fbb993f971e1c4c934 (diff) |
Fix test suite to cover lock --force change.
Diffstat (limited to 'Test.hs')
-rw-r--r-- | Test.hs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -423,7 +423,8 @@ test_lock env = intmpclonerepoInDirect env $ do -- throws it away changecontent annexedfile writeFile annexedfile $ content annexedfile ++ "foo" - git_annex env "lock" [annexedfile] @? "lock failed" + not <$> git_annex env "lock" [annexedfile] @? "lock failed to fail without --force" + git_annex env "lock" ["---force", annexedfile] @? "lock --force failed" annexed_present annexedfile git_annex env "unlock" [annexedfile] @? "unlock failed" unannexed annexedfile |