From: Cyril Hrubis <chrubis@suse.cz>
To: zhanglianjie <zhanglianjie@uniontech.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v4 4/5] syscalls/clone06: Convert to new API
Date: Wed, 27 Oct 2021 15:26:52 +0200 [thread overview]
Message-ID: <YXlTnLceG4Qhyf6n@yuki> (raw)
In-Reply-To: <20211014012533.18205-4-zhanglianjie@uniontech.com>
Hi!
> + const char *env_val = getenv(ENV_ID);
> + if (!env_val) {
> + tst_res(TFAIL, "Variable " ENV_ID " not defined in child");
> + exit(-1);
I've changed these two exit(-1) in child to just exit(0), since the test
result is propagated automatically (by the tst_res(TFAIL, ...) call) and
the child shouldn't do anything else than exit(0).
And pushed, thanks.
--
Cyril Hrubis
chrubis@suse.cz
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2021-10-27 13:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-14 1:25 [LTP] [PATCH v4 1/5] syscalls/clone02: Convert to new API zhanglianjie
2021-10-14 1:25 ` [LTP] [PATCH v4 2/5] syscalls/clone03: " zhanglianjie
2021-10-27 12:32 ` Cyril Hrubis
2021-10-14 1:25 ` [LTP] [PATCH v4 3/5] syscalls/clone05: " zhanglianjie
2021-10-27 12:52 ` Cyril Hrubis
2021-10-14 1:25 ` [LTP] [PATCH v4 4/5] syscalls/clone06: " zhanglianjie
2021-10-27 13:26 ` Cyril Hrubis [this message]
2021-10-14 1:25 ` [LTP] [PATCH v4 5/5] syscalls/clone07: " zhanglianjie
2021-10-27 13:40 ` Cyril Hrubis
2021-10-15 9:57 ` [LTP] [PATCH v4 1/5] syscalls/clone02: " Petr Vorel
2021-10-16 13:07 ` zhanglianjie
2021-10-27 12:00 ` Cyril Hrubis
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=YXlTnLceG4Qhyf6n@yuki \
--to=chrubis@suse.cz \
--cc=ltp@lists.linux.it \
--cc=zhanglianjie@uniontech.com \
/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;
as well as URLs for NNTP newsgroup(s).