diff options
author | Joey Hess <joey@kitenet.net> | 2013-02-27 15:48:26 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-02-27 15:51:28 -0400 |
commit | d23d4ff9d994b4ac4de0ec133601aa03eb01a961 (patch) | |
tree | e61d9506ee3654a1d9d7811f2874b00d28677681 /Test.hs | |
parent | f812dd12aff241585bad2f4e064e44d795a53813 (diff) |
break dependency cycle by special casing running of test command
Diffstat (limited to 'Test.hs')
-rw-r--r-- | Test.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |