update test suite for lock/unlock with missing file content change in v6

This commit is contained in:
Joey Hess 2016-06-09 16:16:39 -04:00
parent 59f59de72e
commit 0ea1969275
Failed to extract signature

View file

@ -564,6 +564,7 @@ test_preferred_content = intmpclonerepo $ do
test_lock :: Assertion
test_lock = intmpclonerepoInDirect $ do
annexed_notpresent annexedfile
unlessM (annexeval Annex.Version.versionSupportsUnlockedPointers) $
ifM (unlockedFiles <$> getTestMode)
( not <$> git_annex "lock" [annexedfile] @? "lock failed to fail with not present file"
, not <$> git_annex "unlock" [annexedfile] @? "unlock failed to fail with not present file"