From: Avinesh Kumar <akumar@suse.de>
To: ltp@lists.linux.it, Li Wang <liwang@redhat.com>
Subject: Re: [LTP] [PATCH] getsid01.c: Convert to new LTP API
Date: Thu, 01 Sep 2022 16:23:48 +0530 [thread overview]
Message-ID: <13092651.uLZWGnKmhe@localhost> (raw)
In-Reply-To: <CAEemH2fTpsMf_j3rRHw+Uy+D5nEes1tPpSbqVfKDavSWoGOk6Q@mail.gmail.com>
Hi Li,
On Wednesday, August 31, 2022 12:05:32 PM IST Li Wang wrote:
> Hi Avinesh,
>
> Avinesh Kumar <akumar@suse.de> wrote:
>
>
> > - for (lc = 0; TEST_LOOPING(lc); lc++) {
> > - /* reset tst_count in case we are looping */
> > - tst_count = 0;
> > + TEST(getsid(0));
> > + p_sid = TST_RET;
> >
>
> We'd better examine TST_RET not equal -1, otherwise, the test can
> still report pass with two wrong values (-1) returned. isn't it?
>
>
> > + c_sid = TST_RET;
> >
>
> Here as well.
Yes, thank you for pointing this out, sending v2.
>
>
>
Regards,
Avinesh
--
Mailing list info: https://lists.linux.it/listinfo/ltp
prev parent reply other threads:[~2022-09-01 10:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-30 7:20 [LTP] [PATCH] getsid01.c: Convert to new LTP API Avinesh Kumar
2022-08-31 6:35 ` Li Wang
2022-09-01 10:53 ` Avinesh Kumar [this message]
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=13092651.uLZWGnKmhe@localhost \
--to=akumar@suse.de \
--cc=liwang@redhat.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.