From c0eb35df4663386e11820c80d6637c61ac75a21e Mon Sep 17 00:00:00 2001
From: Zubin Duggal <zubin.duggal@gmail.com>
Date: Wed, 30 Oct 2024 17:53:36 +0530
Subject: [PATCH] testsuite: normalise execvp vs exec differences in process
 tests

Fixes #25431

(cherry picked from commit a23d8e73166725b699af88a36e97c63b2a0ede25)
---
 testsuite/tests/process/all.T | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/tests/process/all.T b/testsuite/tests/process/all.T
index 54da15297ef..638391e2c8b 100644
--- a/testsuite/tests/process/all.T
+++ b/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, [''])
-- 
GitLab