[LTP] [PATCH] lib: tst_test: tst_reinit() abort when already initialized

Li Wang li.wang@linux.dev
Thu May 7 11:13:16 CEST 2026


Cyril Hrubis wrote:

> Hi!
> > I look into Petr's patch, seems we can go another way to replace
> > the checkpoint method.
> 
> I would rather change the binary to use TST_NO_DEFAULT_MAIN. It's not a
> test, just a helper binary, the tst_test structure shouldn't have been
> used to begin with.

That sounds reasonable! To avoid mixing with real LTP tests,
we should keep the auxiliary binary clean.

-- 
Regards,
Li Wang


More information about the ltp mailing list