[LTP] [PATCH 2/2] pty04: Fix cleanup

Petr Vorel pvorel@suse.cz
Fri May 20 13:30:15 CEST 2022


> Hi!
> > > I don't see why. Running pty07 with -i0 was actually quite helpful in
> > > debugging this issue. If a test fails when executed with -i0, it needs
> > > to be fixed.
> > Do you mean that -i0 is useful to test only setup and cleanup in C API?
> > If we agree we want this (not against it if it's useful), shell API should
> > be unified with it (my concern was that both APIs should behave the same on
> > the same getopt option).

> It never occured to me that -i0 can be used to test that setup and
> cleanup are coded properly but it makes a lot of sense.

OK, I might send a patch for shell implementing it, but it has a lower priority
(there are other patches which should make it to get into the release than
this).

Kind regards,
Petr


More information about the ltp mailing list