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

Andrea Cervesato andrea.cervesato@suse.com
Tue May 28 08:04:05 CEST 2024


Hi!

I'm not sure about this. Why not enabling TINFO + TWARN combination instead?

tst_res(TINFO | TWARN, "my message");

On 5/28/24 00:29, Petr Vorel wrote:
> Hi,
>
> if we found this useful, is it worth to implement it also in the shell
> API?
>
> Regardless the result, should it be TDEBUG backported to the shell API?
>
> Kind regards,
> Petr
>
> Petr Vorel (2):
>    lib: Add TINFO_WARN
>    tree: Use TINFO_WARN
>
>   include/tst_res_flags.h                         |  6 +++++-
>   include/tst_test.h                              |  2 +-
>   lib/newlib_tests/tst_res_flags.c                |  1 +
>   lib/tst_ansi_color.c                            |  1 +
>   lib/tst_res.c                                   | 12 ++++++++----
>   lib/tst_supported_fs_types.c                    |  2 +-
>   lib/tst_test.c                                  |  3 +++
>   testcases/kernel/mem/hugetlb/lib/hugetlb.c      |  4 ++--
>   testcases/kernel/syscalls/ipc/semctl/semctl08.c |  2 +-
>   9 files changed, 23 insertions(+), 10 deletions(-)
>
Andrea



More information about the ltp mailing list