public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH v4 00/10] Add TDEBUG tst_res() flag
@ 2023-12-14 15:19 Petr Vorel
  2023-12-14 15:19 ` [LTP] [PATCH v4 01/10] lib/tests: Add test for testing tst_res() flags Petr Vorel
                   ` (10 more replies)
  0 siblings, 11 replies; 17+ messages in thread
From: Petr Vorel @ 2023-12-14 15:19 UTC (permalink / raw)
  To: ltp

Changes v3->v4:
* Use -D instead of -v. That requires rename options in various tests
* Activate also with TST_ENABLE_DEBUG=1 environment variable
* Add also shell test
* Add 2 shell RFC fixes

Petr Vorel (10):
  lib/tests: Add test for testing tst_res() flags
  tst_test.sh/tst_brk(): Convert only TBROK to TWARN in cleanup
  tst_test.sh/tst_brk(): Allow only TBROK and TCONF
  ioctl02: Rename option -D => -d
  can_filter: Rename option -D => -d
  can_rcv_own_msgs: Rename option -D => -d
  tst_netload(): Rename option -d => -f
  netstress: Rename option -D => -d
  lib: Add support for TDEBUG tst_res() flag
  fsx-linux: Reduce log output with TDEBUG

 doc/C-Test-API.asciidoc                       | 10 +++--
 doc/User-Guidelines.asciidoc                  |  1 +
 include/tst_ansi_color.h                      |  3 ++
 include/tst_common.h                          |  2 +-
 include/tst_res_flags.h                       |  1 +
 include/tst_test.h                            |  5 ++-
 lib/newlib_tests/shell/tst_res_flags.sh       | 24 ++++++++++
 lib/newlib_tests/tst_res_flags.c              | 44 +++++++++++++++++++
 lib/tst_ansi_color.c                          |  3 ++
 lib/tst_res.c                                 |  5 +++
 lib/tst_test.c                                | 19 ++++++++
 runtest/syscalls                              |  2 +-
 testcases/kernel/fs/fsx-linux/fsx-linux.c     | 33 +++++---------
 testcases/kernel/syscalls/ioctl/ioctl02.c     |  2 +-
 testcases/kernel/syscalls/ioctl/test_ioctl    |  2 +-
 testcases/lib/tst_net.sh                      | 12 ++---
 testcases/lib/tst_test.sh                     | 12 ++++-
 testcases/network/busy_poll/busy_poll01.sh    |  2 +-
 testcases/network/busy_poll/busy_poll02.sh    |  2 +-
 testcases/network/busy_poll/busy_poll03.sh    |  2 +-
 .../network/can/filter-tests/can_filter.c     |  2 +-
 .../can/filter-tests/can_rcv_own_msgs.c       |  2 +-
 testcases/network/netstress/netstress.c       |  2 +-
 testcases/network/virt/virt_lib.sh            |  6 +--
 24 files changed, 149 insertions(+), 49 deletions(-)
 create mode 100755 lib/newlib_tests/shell/tst_res_flags.sh
 create mode 100644 lib/newlib_tests/tst_res_flags.c

-- 
2.43.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2024-01-04 11:56 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-14 15:19 [LTP] [PATCH v4 00/10] Add TDEBUG tst_res() flag Petr Vorel
2023-12-14 15:19 ` [LTP] [PATCH v4 01/10] lib/tests: Add test for testing tst_res() flags Petr Vorel
2023-12-14 15:19 ` [LTP] [PATCH v4 02/10] tst_test.sh/tst_brk(): Convert only TBROK to TWARN in cleanup Petr Vorel
2023-12-14 15:19 ` [LTP] [PATCH v4 03/10] tst_test.sh/tst_brk(): Allow only TBROK and TCONF Petr Vorel
2023-12-14 15:19 ` [LTP] [PATCH v4 04/10] ioctl02: Rename option -D => -d Petr Vorel
2023-12-19 11:00   ` Li Wang
2023-12-19 11:42     ` Petr Vorel
2023-12-14 15:19 ` [LTP] [PATCH v4 05/10] can_filter: " Petr Vorel
2023-12-14 15:19 ` [LTP] [PATCH v4 06/10] can_rcv_own_msgs: " Petr Vorel
2023-12-14 15:19 ` [LTP] [PATCH v4 07/10] tst_netload(): Rename option -d => -f Petr Vorel
2023-12-14 15:19 ` [LTP] [PATCH v4 08/10] netstress: Rename option -D => -d Petr Vorel
2023-12-14 15:19 ` [LTP] [PATCH v4 09/10] lib: Add support for TDEBUG tst_res() flag Petr Vorel
2024-01-04 11:36   ` Petr Vorel
2024-01-04 11:55     ` Li Wang
2023-12-14 15:19 ` [LTP] [PATCH v4 10/10] fsx-linux: Reduce log output with TDEBUG Petr Vorel
2023-12-19 10:58 ` [LTP] [PATCH v4 00/10] Add TDEBUG tst_res() flag Li Wang
2023-12-19 12:04   ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox