[Git][ghc/ghc][wip/9.12-alpha2] testsuite: normalise execvp vs exec differences in process tests

Zubin (@wz1000) gitlab at gitlab.haskell.org
Wed Oct 30 12:27:48 UTC 2024



Zubin pushed to branch wip/9.12-alpha2 at Glasgow Haskell Compiler / GHC


Commits:
728a0bf1 by Zubin Duggal at 2024-10-30T17:57:11+05:30
testsuite: normalise execvp vs exec differences in process tests

Fixes #25431

(cherry picked from commit a23d8e73166725b699af88a36e97c63b2a0ede25)

- - - - -


1 changed file:

- testsuite/tests/process/all.T


Changes:

=====================================
testsuite/tests/process/all.T
=====================================
@@ -1,6 +1,6 @@
 # some platforms use spawnp instead of exec in some cases, resulting
 # in spurious error output changes.
-normalise_exec = normalise_fun(lambda s: s.replace('posix_spawnp', 'exec'))
+normalise_exec = normalise_fun(lambda s: s.replace('posix_spawnp', 'exec').replace('execvp','exec'))
 
 test('process001', [req_process], compile_and_run, [''])
 test('process002', [fragile_for(16547, concurrent_ways), req_process], compile_and_run, [''])



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/728a0bf10026e8629c16e9f5ce9ebfe73628a8a6

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/728a0bf10026e8629c16e9f5ce9ebfe73628a8a6
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/20241030/dc61bbf8/attachment.html>


More information about the ghc-commits mailing list