Fix test suite to cover lock --force change.
This commit is contained in:
parent
87662ec14c
commit
cee4c9a11d
2 changed files with 8 additions and 1 deletions
3
Test.hs
3
Test.hs
|
@ -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
|
||||
|
|
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,3 +1,9 @@
|
|||
git-annex (5.20131214) UNRELEASED; urgency=low
|
||||
|
||||
* Fix test suite to cover lock --force change.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Sun, 15 Dec 2013 13:32:49 -0400
|
||||
|
||||
git-annex (5.20131213) unstable; urgency=low
|
||||
|
||||
* Avoid using git commit in direct mode, since in some situations
|
||||
|
|
Loading…
Reference in a new issue