summaryrefslogtreecommitdiff
path: root/Test.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-02-27 15:48:26 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-02-27 15:51:28 -0400
commitd23d4ff9d994b4ac4de0ec133601aa03eb01a961 (patch)
treee61d9506ee3654a1d9d7811f2874b00d28677681 /Test.hs
parentf812dd12aff241585bad2f4e064e44d795a53813 (diff)
break dependency cycle by special casing running of test command
Diffstat (limited to 'Test.hs')
-rw-r--r--Test.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Test.hs b/Test.hs
index 6d010917e..eeba44dbb 100644
--- a/Test.hs
+++ b/Test.hs
@@ -941,8 +941,8 @@ unannexed = runchecks [checkregularfile, checkcontent, checkwritable]
prepare :: IO ()
prepare = do
- whenM (doesDirectoryExist) tmpdir $
- error $ "The temporary directory " ++ tmpdir ++ "already exists; cannot run test suite."
+ whenM (doesDirectoryExist tmpdir) $
+ error $ "The temporary directory " ++ tmpdir ++ " already exists; cannot run test suite."
-- While PATH is mostly avoided, the commit hook does run it,
-- and so does git_annex_output. Make sure that the just-built