public inbox for glibc-cvs@sourceware.org help / color / mirror / Atom feed
From: Adhemerval Zanella <azanella@sourceware.org> To: glibc-cvs@sourceware.org Subject: [glibc] posix: Check pidfd_spawn with tst-spawn7-pid Date: Wed, 15 Nov 2023 13:32:15 +0000 (GMT) [thread overview] Message-ID: <20231115133215.F2D6F3858C78@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0575073dda99169e61b0201225078c364a3980f5 commit 0575073dda99169e61b0201225078c364a3980f5 Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Wed Nov 15 10:28:34 2023 -0300 posix: Check pidfd_spawn with tst-spawn7-pid Without using the macro, posix_spawn is used instead. Checked on x86_64-linux-gnu. Diff: --- 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);
reply other threads:[~2023-11-15 13:32 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20231115133215.F2D6F3858C78@sourceware.org \ --to=azanella@sourceware.org \ --cc=glibc-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).