public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH v2 0/4] Add TDBUG tst_res() flag
@ 2023-12-07 21:27 Petr Vorel
  2023-12-07 21:27 ` [LTP] [PATCH v2 1/4] lib/tests: Add test for testing tst_res() flags Petr Vorel
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Petr Vorel @ 2023-12-07 21:27 UTC (permalink / raw)
  To: ltp

Hi all,

this started as reduce of verbose logs in
testcases/kernel/fs/fsx-linux/fsx-linux.c. I was asked to add support
for debug flags.

TODO: shell API (nfs_lib.sh uses -v for NFS version, it needs to be
renamed.

Changes v1->v2:
* all changed - v1 simply removed few logs from fsx-linux.

Kind regards,
Petr

Petr Vorel (4):
  lib/tests: Add test for testing tst_res() flags
  lib: Add support for TDBUG tst_res() flag
  fsx-linux: Reduce log output with TDBUG
  fsx-linux: Use SAFE_MSYNC()

 doc/C-Test-API.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/tst_res_flags.c          | 47 +++++++++++++++++++++++
 lib/tst_ansi_color.c                      |  3 ++
 lib/tst_res.c                             |  9 +++--
 lib/tst_test.c                            | 12 ++++++
 testcases/kernel/fs/fsx-linux/fsx-linux.c | 37 ++++++------------
 10 files changed, 89 insertions(+), 31 deletions(-)
 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] 10+ messages in thread

end of thread, other threads:[~2023-12-08 13:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-07 21:27 [LTP] [PATCH v2 0/4] Add TDBUG tst_res() flag Petr Vorel
2023-12-07 21:27 ` [LTP] [PATCH v2 1/4] lib/tests: Add test for testing tst_res() flags Petr Vorel
2023-12-07 21:27 ` [LTP] [PATCH v2 2/4] lib: Add support for TDBUG tst_res() flag Petr Vorel
2023-12-08  6:50   ` Jan Stancek
2023-12-08  7:43     ` Petr Vorel
2023-12-08  8:17     ` Cyril Hrubis
2023-12-08 13:53       ` Petr Vorel
2023-12-08 13:54         ` Andrea Cervesato via ltp
2023-12-07 21:27 ` [LTP] [PATCH v2 3/4] fsx-linux: Reduce log output with TDBUG Petr Vorel
2023-12-07 21:27 ` [LTP] [PATCH v2 4/4] fsx-linux: Use SAFE_MSYNC() Petr Vorel

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