[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 15:24:13 UTC 2024



Ben Gamari pushed to branch wip/bump-process at Glasgow Haskell Compiler / GHC


Commits:
55e47a32 by Ben Gamari at 2024-10-09T11:24:06-04:00
Bump process submodule to v1.6.25.0

- - - - -


5 changed files:

- libraries/process
- testsuite/tests/process/process004.hs
- testsuite/tests/process/process004.stdout
- testsuite/tests/process/process004.stdout-javascript-unknown-ghcjs
- testsuite/tests/process/process004.stdout-mingw32


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: runProcess: chdir: does not exist (No such file or directory)
+Exc: does not exist
+Exc: does not exist


=====================================
testsuite/tests/process/process004.stdout-javascript-unknown-ghcjs
=====================================
@@ -1,2 +1,2 @@
-Exc: true: runInteractiveProcess: does not exist (No such file or directory)
-Exc: true: runProcess: does not exist (No such file or directory)
+Exc: does not exist
+Exc: does not exist


=====================================
testsuite/tests/process/process004.stdout-mingw32
=====================================
@@ -1,2 +1,2 @@
-Exc: true: runInteractiveProcess: invalid argument (Invalid argument)
-Exc: true: runProcess: invalid argument (Invalid argument)
+Exc: does not exist
+Exc: does not exist



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/55e47a32fd43b0c794df6c137b262eb711a618c9

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/55e47a32fd43b0c794df6c137b262eb711a618c9
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/0c6f2da6/attachment-0001.html>


More information about the ghc-commits mailing list