From 42e9018791a95da9ba439ba75bf2058f3beec848 Mon Sep 17 00:00:00 2001
From: "Edward Z. Yang" <ezyang@cs.stanford.edu>
Date: Sat, 26 Nov 2016 15:20:59 -0800
Subject: [PATCH] Prefix testDistDir with work to disambiguate.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
---
 cabal-testsuite/Test/Cabal/Monad.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cabal-testsuite/Test/Cabal/Monad.hs b/cabal-testsuite/Test/Cabal/Monad.hs
index 419fe35d21..350e6d8100 100644
--- a/cabal-testsuite/Test/Cabal/Monad.hs
+++ b/cabal-testsuite/Test/Cabal/Monad.hs
@@ -326,7 +326,7 @@ testPrefixDir env = testWorkDir env </> "usr"
 -- | The absolute path to the build directory that should be used
 -- for the current package in a test.
 testDistDir :: TestEnv -> FilePath
-testDistDir env = testWorkDir env </> testRelativeCurrentDir env </> "dist"
+testDistDir env = testWorkDir env </> "work" </> testRelativeCurrentDir env </> "dist"
 
 -- | The absolute path to the shared package database that should
 -- be used by all packages in this test.
-- 
GitLab