[LTP] [PATCH 1/6] Add safe macros for stream testing suite
Cyril Hrubis
chrubis@suse.cz
Wed Mar 4 11:06:27 CET 2026
Hi!
> > Newly added safe macros shouldn't add the cleanup_fn parameter, that is
> > kept only in the legacy macros that are stil used in the old library
> > tests.
>
> The problem is that I don't know how to approach it, since the header is
> correct, but we also have tso_safe_stdio.h and there's a mix of old
> implementations/new implementations mixing together into tst_kernel.c.
Just do not add the cleanup_fn parameter to the new functions 1added
there. That's all I ask for here.
> I'm a bit puzzled. The point would be to move evrything in the new API,
> including the core library.
Well we can't until there are old tests using the old library left.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list