adjust test suite for changed dropunused behavior with bogus numbers
This commit is contained in:
parent
43ca8eb066
commit
8661dba587
1 changed files with 2 additions and 2 deletions
4
Test.hs
4
Test.hs
|
@ -582,9 +582,9 @@ test_unused env = "git-annex unused/dropunused" ~: intmpclonerepoInDirect env $
|
||||||
@? "dropkey failed"
|
@? "dropkey failed"
|
||||||
checkunused [sha1annexedfilekey] ("after dropkey --force " ++ Types.Key.key2file annexedfilekey)
|
checkunused [sha1annexedfilekey] ("after dropkey --force " ++ Types.Key.key2file annexedfilekey)
|
||||||
|
|
||||||
git_annex env "dropunused" ["1", "2"] @? "dropunused failed"
|
git_annex env "dropunused" ["1"] @? "dropunused failed"
|
||||||
checkunused [] "after dropunused"
|
checkunused [] "after dropunused"
|
||||||
git_annex env "dropunused" ["10", "501"] @? "dropunused failed on bogus numbers"
|
not <$> git_annex env "dropunused" ["10", "501"] @? "dropunused failed to fail on bogus numbers"
|
||||||
|
|
||||||
where
|
where
|
||||||
checkunused expectedkeys desc = do
|
checkunused expectedkeys desc = do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue