From e8b9c96e4e22eef513fbbbe0a8d9eef45cd24020 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 10 Feb 2014 18:29:15 -0400 Subject: [PATCH] use nukefile rather than shelling to rm --- Test.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Test.hs b/Test.hs index 7cbf6dbfdc..f670b37445 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