use nukefile rather than shelling to rm
This commit is contained in:
parent
66c9cb6e39
commit
e8b9c96e4e
1 changed files with 1 additions and 1 deletions
2
Test.hs
2
Test.hs
|
@ -230,7 +230,7 @@ test_add env = inmainrepo env $ do
|
|||
( do
|
||||
writeFile ingitfile $ content ingitfile
|
||||
not <$> boolSystem "git" [Param "add", File ingitfile] @? "git add failed to fail in direct mode"
|
||||
boolSystem "rm" [Params "-f", File ingitfile] @? "rm failed"
|
||||
nukeFile ingitfile
|
||||
git_annex env "sync" [] @? "sync failed"
|
||||
, do
|
||||
writeFile ingitfile $ content ingitfile
|
||||
|
|
Loading…
Reference in a new issue