summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-06-18 13:41:33 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-06-18 13:41:33 -0400
commite23b77cffb397474dd00308456a564551f3a366b (patch)
tree47d497ef3baa98e039c5d48e5b9c1d9f13322e1e
parentf32687f895d1fd9b6a5925b4b47136bca2566bb3 (diff)
allow test temp dir removal to fail (working around some problem on Windows)
-rw-r--r--Test.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Test.hs b/Test.hs
index 047bcf0bb..9223219d7 100644
--- a/Test.hs
+++ b/Test.hs
@@ -978,7 +978,7 @@ cleanup dir = do
recurseDir SystemFS dir >>=
filterM doesDirectoryExist >>=
mapM_ Utility.FileMode.allowWrite
- removeDirectoryRecursive dir
+ void $ tryIO $ removeDirectoryRecursive dir
checklink :: FilePath -> Assertion
checklink f = do