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

Andrea Cervesato via ltp
2026-01-12T12:59:29Z

Hi!

I generally agree with this approach, but I have the feeling we are
mixing naming a bit here. For instance, we have headers like ipcmsg.h
that has no functions starting with tst_*, while tst_numa.h does. Also,
the tst_* prefix for files has the clear goal to state we are importing
some LTP functionalities inside the tests code.

Said so, I would rather rename all LTP libraries as tst_*.h and to
rename functions inside them with tst_* prefix. In this way, we know
at the very first look, when a library is imported from LTP and not
from other sources.

--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com