From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH 2/3] confstr01: Update to X/Open 7 (POSIX 2008)
Date: Wed, 6 Apr 2022 08:30:52 +0200 [thread overview]
Message-ID: <Yk0znI2Jd5EPderD@pevik> (raw)
In-Reply-To: <20220405134838.9440-3-pvorel@suse.cz>
Hi,
I tested it last night on uclibc, it does not have _CS_V7_ENV, therefore it must
be wrap with #ifdef.
Kind regards,
Petr
diff --git testcases/kernel/syscalls/confstr/confstr01.c testcases/kernel/syscalls/confstr/confstr01.c
index f41214add8..ed540cf4da 100644
--- testcases/kernel/syscalls/confstr/confstr01.c
+++ testcases/kernel/syscalls/confstr/confstr01.c
@@ -46,7 +46,9 @@ static struct test_case_t {
{ _CS_POSIX_V7_THREADS_LDFLAGS, "POSIX_V7_THREADS_LDFLAGS" },
#endif
{ _CS_POSIX_V7_WIDTH_RESTRICTED_ENVS, "POSIX_V7_WIDTH_RESTRICTED_ENVS" },
+#ifdef _CS_V7_ENV
{ _CS_V7_ENV, "V7_ENV" },
+#endif
};
static void run(unsigned int i)
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2022-04-06 6:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-05 13:48 [LTP] [PATCH 0/3] confstr01: rewrite and fix musl Petr Vorel
2022-04-05 13:48 ` [LTP] [PATCH 1/3] confstr01.c: Rewrite into new API Petr Vorel
2022-04-06 8:35 ` Petr Vorel
2022-04-05 13:48 ` [LTP] [PATCH 2/3] confstr01: Update to X/Open 7 (POSIX 2008) Petr Vorel
2022-04-06 6:30 ` Petr Vorel [this message]
2022-04-05 13:48 ` [LTP] [PATCH 3/3] ci/alpine.sh: Build confstr01.c Petr Vorel
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=Yk0znI2Jd5EPderD@pevik \
--to=pvorel@suse.cz \
--cc=ltp@lists.linux.it \
/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: link
Be 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