[LTP] [PATCH v2] pty: fix some issues in pty02

Li Wang liwang@redhat.com
Fri Aug 17 05:09:32 CEST 2018


Xiao Yang <yangx.jy@cn.fujitsu.com> wrote:

> +     TEST(tcsetattr(ptmx, TCSANOW, &io));
> > +     if (TEST_RET == -1) {
> > +             if (TEST_ERR == EINVAL)
> > +                     tst_res(TCONF, "tcsetattr(, , EXTPROC | ICANON) is
> not supported");
> Hi Li,
>
> Should we use tst_brk(TCONF, ...) instead?


Yes, right.

-- 
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20180817/a3cee8ec/attachment.html>


More information about the ltp mailing list