[LTP] [PATCH] recvmsg01: Skip unsupported test
Li Wang
liwang@redhat.com
Mon Sep 11 14:06:17 CEST 2023
On Mon, Sep 11, 2023 at 6:50 PM Takuya Wakazono <pastalian46@gmail.com>
wrote:
> Hi Li,
> Thanks for the review.
>
> > > if ((tst_kvercmp(3, 17, 0) < 0)
> > > && (tc->flags & MSG_ERRQUEUE)
> > > && (tc->type & SOCK_STREAM)) {
> > > tst_res(TCONF, "MSG_ERRQUEUE requires kernel >= 3.17");
> > > + return;
> > >
> >
> > It'd be better to use tst_brk TCONF rather than tst_res + return.
>
> Wouldn't that abort all subsequent test cases? We only want to skip the
> MSG_ERRQUEUE test cases.
>
Ah, yes, I overlooked that tcases traverse. Sorry~
--
Regards,
Li Wang
More information about the ltp
mailing list