From 0575073dda99169e61b0201225078c364a3980f5 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Wed, 15 Nov 2023 10:28:34 -0300 Subject: [PATCH] posix: Check pidfd_spawn with tst-spawn7-pid Without using the macro, posix_spawn is used instead. Checked on x86_64-linux-gnu. --- posix/tst-spawn7.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posix/tst-spawn7.c b/posix/tst-spawn7.c index cc4498830b..97e0ebf80b 100644 --- a/posix/tst-spawn7.c +++ b/posix/tst-spawn7.c @@ -86,7 +86,7 @@ spawn_signal_test (const char *type, const posix_spawnattr_t *attr) PID_T_TYPE pid; siginfo_t sinfo; - TEST_COMPARE (posix_spawn (&pid, spargs[0], NULL, attr, spargs, environ), 0); + TEST_COMPARE (POSIX_SPAWN (&pid, spargs[0], NULL, attr, spargs, environ), 0); TEST_COMPARE (WAITID (P_ALL, 0, &sinfo, WEXITED), 0); TEST_COMPARE (sinfo.si_code, CLD_EXITED); TEST_COMPARE (sinfo.si_status, 0); -- 2.11.4.GIT