[LTP] [PATCH v5 0/2] fcntl14 refactoring

Andrea Cervesato andrea.cervesato@suse.de
Wed Sep 11 10:05:59 CEST 2024


This patch-set simplify the fcntl14 test and add some new silent macros
to the TST_EXP_EQ_* series.

Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
Changes in v5:
- remove *_01 suffix to fcntl14 in syscalls runtest file
- handle TST_PASS in a better way inside tst_safe_macros.h
- Link to v4: https://lore.kernel.org/r/20240902-fcntl4_refactoring-v4-0-4446517da427@suse.com

Changes in v4:
- add test variants
- add TST_EXP_EQ_*_SILENT macros
- simplify testcases configuration
- changes overlapping algorithm
- don't exit each time we fail
- don't unlock on file close

---
Andrea Cervesato (2):
      Add silent macros for TST_EXP_EQ_*
      Rewrite fcnt14 test

 include/tst_test_macros.h                 |   81 +-
 testcases/kernel/syscalls/fcntl/fcntl14.c | 1253 +++++------------------------
 2 files changed, 271 insertions(+), 1063 deletions(-)
---
base-commit: 0bd4e66a7ccfb2951148fae65cfa02076ee8f4de
change-id: 20240902-fcntl4_refactoring-a86f07bcb5e2

Best regards,
-- 
Andrea Cervesato <andrea.cervesato@suse.com>



More information about the ltp mailing list