[LTP] [PATCH 1/2] lib: Add TINFO_WARN

Petr Vorel pvorel@suse.cz
Tue May 28 14:14:44 CEST 2024


Hi,

I'm sorry to send this patchset twice (I forget I sent it a day before).

> When replaced tst_res(TINFO, "WARNING: ...") with tst_res(TINFO_WARN,
> "..."), then:

> - output message is magenta (the same as for TWARN => more visible),
> - "WARNING" is printed by the library (unification),

Also, Andrea suggested on the first patchset:

https://lore.kernel.org/ltp/37603272-8ea2-4828-96df-4b6381cc26ad@suse.com/
I'm not sure about this. Why not enabling TINFO + TWARN combination instead?
tst_res(TINFO | TWARN, "my message");

This actually makes sense => v2 needed.

Kind regards,
Petr


More information about the ltp mailing list