[LTP] [PATCH v19 0/3] fsconfig04: Check FSCONFIG_SET_PATH

Wei Gao wegao@suse.com
Mon Nov 16 09:56:03 CET 2026


v18->v19:
- Update tst_attach_loopdev take the file name as ONLY parameter and return newly
  allocated string with the path to the device it was attached to.

Wei Gao (3):
  lib: Add tst_attach_loopdev()
  newlib_tests: Add tst_attach_loopdev test
  fsconfig04: Check FSCONFIG_SET_PATH

 include/tst_device.h                          |  26 +++
 lib/newlib_tests/.gitignore                   |   1 +
 lib/newlib_tests/runtest.sh                   |   1 +
 lib/newlib_tests/tst_attach_loopdev.c         | 145 +++++++++++++++
 lib/tst_device.c                              |  82 ++++++++-
 runtest/syscalls                              |   1 +
 testcases/kernel/syscalls/fsconfig/.gitignore |   1 +
 .../kernel/syscalls/fsconfig/fsconfig04.c     | 167 ++++++++++++++++++
 8 files changed, 417 insertions(+), 7 deletions(-)
 create mode 100644 lib/newlib_tests/tst_attach_loopdev.c
 create mode 100644 testcases/kernel/syscalls/fsconfig/fsconfig04.c

-- 
2.55.0



More information about the ltp mailing list