[LTP] [PATCH v2 0/4] Add TDBUG tst_res() flag
Petr Vorel
pvorel@suse.cz
Thu Dec 7 22:27:35 CET 2023
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
More information about the ltp
mailing list