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

Fixes #25431
---
 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