test-sandbox 0.1.2 → 0.1.3
raw patch · 3 files changed
+14/−6 lines, 3 files
Files
- ChangeLog.md +8/−0
- src/Test/Sandbox/Internals.hs +4/−4
- test-sandbox.cabal +2/−2
ChangeLog.md view
@@ -1,3 +1,11 @@+## 0.1.3++* Fix build failure with directory-1.2.2.0 which exposes findExecutables++## 0.1.2++* Add MIN_VERSION_mtl(2,2,1) for Control.Monad.Except+ ## 0.1.1 * Fix bugs of both isBindable and sendToPort : I was mistaken about PortNum.
src/Test/Sandbox/Internals.hs view
@@ -38,7 +38,7 @@ import GHC.IO.Handle import Network import Network.Socket-import System.Directory+import qualified System.Directory as D import System.Exit import System.FilePath import System.IO@@ -484,10 +484,10 @@ tryBinary :: FilePath -> IO (Maybe FilePath) tryBinary path = do expandedPath <- expand path- canonicalizedPath <- tryIOError $ canonicalizePath expandedPath+ canonicalizedPath <- tryIOError $ D.canonicalizePath expandedPath case canonicalizedPath of- Left _ -> findExecutable expandedPath- Right realPath -> findExecutable realPath+ Left _ -> D.findExecutable expandedPath+ Right realPath -> D.findExecutable realPath getProcessCandidateBinaries :: SandboxedProcess -> [FilePath] getProcessCandidateBinaries sp =
test-sandbox.cabal view
@@ -1,5 +1,5 @@ Name: test-sandbox-Version: 0.1.2+Version: 0.1.3 Cabal-Version: >= 1.14 Category: Testing Synopsis: Sandbox for system tests@@ -28,7 +28,7 @@ Source-Repository this Type: git Location: https://github.com/gree/haskell-test-sandbox- Tag: test-sandbox_0.1.2+ Tag: test-sandbox_0.1.3 Library Exposed-modules: Test.Sandbox