From: zhaogongyi via ltp <ltp@lists.linux.it>
To: "rpalethorpe@suse.de" <rpalethorpe@suse.de>
Cc: "ltp@lists.linux.it" <ltp@lists.linux.it>
Subject: Re: [LTP] [PATCH 2/2] syscalls/nice06: new test for nice()
Date: Wed, 26 Oct 2022 08:21:00 +0000 [thread overview]
Message-ID: <910b68cd082a4a8cb5d23db7fd90a8d7@huawei.com> (raw)
Hi,
>
> Hello,
>
> Zhao Gongyi via ltp <ltp@lists.linux.it> writes:
>
> > Verify that the errno is nonzero when callling of nice legitimately
> > return -1.
>
> This does not require a separate test and EPERM is the only errno that is
> listed in the man page.
>
This testcase is intentionally designed to test the errno is zero when callling of nice legitimately return -1,
For the other testcases of nice, return -1 will report TBROK, shall we need to add a test to check it ?
Regards,
Gongyi
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next reply other threads:[~2022-10-26 8:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-26 8:21 zhaogongyi via ltp [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-10-14 3:56 [LTP] [PATCH 1/2] syscalls/nice05: new test for nice() Zhao Gongyi via ltp
2022-10-14 3:56 ` [LTP] [PATCH 2/2] syscalls/nice06: " Zhao Gongyi via ltp
2022-10-24 11:20 ` Richard Palethorpe
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=910b68cd082a4a8cb5d23db7fd90a8d7@huawei.com \
--to=ltp@lists.linux.it \
--cc=rpalethorpe@suse.de \
--cc=zhaogongyi@huawei.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