[LTP] [PATCH] recvmsg01: Skip unsupported test

Takuya Wakazono pastalian46@gmail.com
Mon Sep 11 12:50:14 CEST 2023


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.


More information about the ltp mailing list