about summary refs log tree commit diff
path: root/posix
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-11-15 10:28:34 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-11-15 10:28:34 -0300
commit0575073dda99169e61b0201225078c364a3980f5 (patch)
tree16b54266a4d9a7ff2fd1c5a0c2ca69985628a008 /posix
parent578190b7e43305141512dee777e4a3b3e8159393 (diff)
downloadglibc-0575073dda99169e61b0201225078c364a3980f5.tar.gz
glibc-0575073dda99169e61b0201225078c364a3980f5.tar.xz
glibc-0575073dda99169e61b0201225078c364a3980f5.zip
posix: Check pidfd_spawn with tst-spawn7-pid
Without using the macro, posix_spawn is used instead.

Checked on x86_64-linux-gnu.
Diffstat (limited to 'posix')
-rw-r--r--posix/tst-spawn7.c2
1 files changed, 1 insertions, 1 deletions
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);