add action command to git-annex sim
step just picks a random action, and this allows finer control over what happens in the sim
This commit is contained in:
parent
21da5aadec
commit
64466d8687
3 changed files with 100 additions and 24 deletions
|
@ -29,7 +29,7 @@ seek _ = do
|
|||
st' <- runSimCommand (CommandInit (RepoName "foo")) st
|
||||
>>= runSimCommand (CommandTrustLevel (RepoName "foo") "trusted")
|
||||
>>= runSimCommand (CommandUse (RepoName "bar") "here")
|
||||
>>= runSimCommand (CommandConnect (RepoName "foo") (RepoName "bar"))
|
||||
>>= runSimCommand (CommandConnect (RepoName "foo") (RemoteName "bar"))
|
||||
>>= runSimCommand (CommandAdd "foo" 100000 (RepoName "foo"))
|
||||
let simdir = \u -> tmpdir </> fromUUID u
|
||||
st'' <- liftIO $ updateSimRepos r simdir st'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue