diff options
author | Joey Hess <joey@kitenet.net> | 2014-02-10 18:29:15 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-02-10 18:29:15 -0400 |
commit | ce1440413cb1d3b206e66d66f2581719cab3cf28 (patch) | |
tree | 14fa524e73857b8bf84aa64de6322b8c9f81598b | |
parent | 58aab73050a7866eda8a2378431e6104f9801910 (diff) |
use nukefile rather than shelling to rm
-rw-r--r-- | Test.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |