[LTP] [PATCH 1/2] lib: tst_test.c: Add TBROK counter.
Petr Vorel
pvorel@suse.cz
Tue Dec 8 14:51:32 CET 2020
> Hi!
> > This ensures that TBROK is never lost.
> > If test process forks a child and the child calls SAFE_MACRO() the
> > failure will be lost unless the test process handles the exit value
> > properly and propagates the TBROK.
> > It is also strange that TBROK is the only return value that is solely
> > propagated by the exit value and not by the counters. This has been
> > mistake to begin with.
> Anybody to review this?
> I consider it important and at the same time quite safe to apply since
> I've tried to keep the changes minimal.
+1
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Kind regards,
Petr
More information about the ltp
mailing list