[Git][ghc/ghc][wip/bump-process] Bump process submodule to v1.6.25.0
Ben Gamari (@bgamari)
gitlab at gitlab.haskell.org
Wed Oct 9 12:22:38 UTC 2024
Ben Gamari pushed to branch wip/bump-process at Glasgow Haskell Compiler / GHC
Commits:
faaf8b79 by Ben Gamari at 2024-10-09T08:22:29-04:00
Bump process submodule to v1.6.25.0
- - - - -
3 changed files:
- libraries/process
- testsuite/tests/process/process004.hs
- testsuite/tests/process/process004.stdout
Changes:
=====================================
libraries/process
=====================================
@@ -1 +1 @@
-Subproject commit a53f925e3ee246e2429418b7a088ecaa0976007b
+Subproject commit b8c88fb5bbdebbcbb3e7c734f0c7515dd3cef84e
=====================================
testsuite/tests/process/process004.hs
=====================================
@@ -4,8 +4,13 @@ import System.IO.Error
import System.Process
main :: IO ()
-main = do test1 `catchIOError` \e -> putStrLn ("Exc: " ++ show e)
- test2 `catchIOError` \e -> putStrLn ("Exc: " ++ show e)
+main = do
+ -- N.B. Only show the error type since the exact error text
+ -- may depend upon precise system call which @process@ decided
+ -- to use.
+ let printError e = putStrLn ("Exc: " ++ show (ioeGetErrorType e))
+ test1 `catchIOError` printError
+ test2 `catchIOError` printError
test1 :: IO ()
test1 = do
=====================================
testsuite/tests/process/process004.stdout
=====================================
@@ -1,2 +1,2 @@
-Exc: true: runInteractiveProcess: chdir: invalid argument (Bad file descriptor)
+Exc: true: runInteractiveProcess: chdir: does not exist (No such file or directory)
Exc: true: runProcess: chdir: does not exist (No such file or directory)
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/faaf8b79396133b98dfe3830a545b2d0a0087ad4
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/faaf8b79396133b98dfe3830a545b2d0a0087ad4
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20241009/c636934e/attachment-0001.html>
More information about the ghc-commits
mailing list