[LTP] [PATCH] libs: adopt lib* prefix instead of tst_* for libs/

Li Wang liwang@redhat.com
Wed Jan 14 13:47:54 CET 2026


> > Perhaps we can use a lightweight name for the extra libs/:
> >
> > est_*: extra test library
> > xst_*: extened test library
> > lst_*: ltp test library
> >
>
> Otherwise we can have `tst_` tag for all libraries inside LTP, but
> divide them into categories according to their meaning:
>
> - tst_*: test library
> - tst_lib_*: libraries inside LTP
> - tst_old_*: old test libraries

It might not be good (too long) to use tst_lib_ in the function names,
which not easy to distinguish from tst_.

To combine with ltpx_ suggestion, I guess we could use:

tst_*: core test library
etst_*: non-core (extended) test library
otst_*: old test library

The reason I'm not using the word "ltp" is that it's too broad,
we're better off naming it around *tst*.

-- 
Regards,
Li Wang



More information about the ltp mailing list