From 49ea9c99164e052dc0c66750c822d350d62a547e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 29 Sep 2017 14:58:23 -0400 Subject: test: Fix reversion that made it only run inside a git repository. Using annexeval to run probeCrippledFileSystem' caused Git.CurrentRepo.get to be run. Fixed easily since probeCrippledFileSystem' had no need to use the Annex monad. This commit was sponsored by Ethan Aubin. --- Test.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Test.hs') diff --git a/Test.hs b/Test.hs index 075f65e6a..5c3f362b5 100644 --- a/Test.hs +++ b/Test.hs @@ -147,7 +147,7 @@ runner = Just go exitWith exitcode runsubprocesstests opts (Just _) = isolateGitConfig $ do ensuretmpdir - crippledfilesystem <- annexeval $ Annex.Init.probeCrippledFileSystem' tmpdir + crippledfilesystem <- fst <$> Annex.Init.probeCrippledFileSystem' tmpdir case tryIngredients ingredients (tastyOptionSet opts) (tests crippledfilesystem opts) of Nothing -> error "No tests found!?" Just act -> ifM act -- cgit v1.2.3