summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Test.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Test.hs b/Test.hs
index 7cbf6dbfd..f670b3744 100644
--- a/Test.hs
+++ b/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