[LTP] [PATCH v1 0/2] new cmd support option for needs_cmds

Wei Gao wegao@suse.com
Fri Sep 26 10:50:10 CEST 2025


NOTE:This patchset is draft for review not final one.
Since not include update .needs_cmds for all related testcases.

Wei Gao (2):
  lib: Add support option for .needs_cmds
  ioctl_loop01.c: Update to new .needs_cmds struct

 include/tst_cmd.h                             | 15 +++
 include/tst_private.h                         |  2 +
 include/tst_test.h                            |  2 +-
 lib/tst_cmd.c                                 | 98 +++++++++++++++++++
 lib/tst_test.c                                |  9 +-
 .../kernel/syscalls/ioctl/ioctl_loop01.c      | 23 ++---
 6 files changed, 130 insertions(+), 19 deletions(-)

-- 
2.51.0



More information about the ltp mailing list