[Git][ghc/ghc][master] testsuite: normalise execvp vs exec differences in process tests

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Tue Nov 12 06:24:51 UTC 2024



Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
6d96bb62 by Zubin Duggal at 2024-11-12T01:23:25-05:00
testsuite: normalise execvp vs exec differences in process tests

Fixes #25431

- - - - -


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/6d96bb6290114302534c928ea065a3da4e606f3f

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/6d96bb6290114302534c928ea065a3da4e606f3f
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/20241112/ad305a7d/attachment-0001.html>


More information about the ghc-commits mailing list