[LTP] [PATCH v2 0/2] mkdir09: rewrite in new LTP API

Jan Stancek jstancek@redhat.com
Fri Feb 4 14:14:00 CET 2022


Changes:
- 'use all_filesystems = 1'
  This gives us back reproducer we used to have before statx04 rewrite for commit
  07bfa4415ab6 ("fat: work around race with userspace's read via blockdev while mounting")
- fix description comment
- comments moved before functions
- separate loop with SAFE_MKDIR moved to setup
- introduce TST_EXP_FAIL_SILENT (patch 1/2)
- used TST_EXP_PASS_SILENT in test2 and test3
- fixed TPASS message in test2 to say "remove dirs"

Jan Stancek (2):
  tst_test_macros: add TST_EXP_FAIL_SILENT
  syscalls/mkdir09: rewrite in new LTP API

 doc/c-test-api.txt                        |   3 +
 include/tst_test_macros.h                 |  15 +-
 testcases/kernel/syscalls/mkdir/Makefile  |   2 +
 testcases/kernel/syscalls/mkdir/mkdir09.c | 494 ++++------------------
 4 files changed, 106 insertions(+), 408 deletions(-)

-- 
2.27.0



More information about the ltp mailing list