Skip to content

new cmd support option for needs_cmds

Wei Gao via ltp ltp 8 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest4 patches 18 repliesIn review
  2. v64 patches 13 repliesSuperseded
  3. v53 patches 11 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v4 posting 2/24 patches4 repliesSuperseded
v4 posting 1/23 patches13 repliesSuperseded
v34 patches2 repliesSuperseded
v22 patches3 repliesSuperseded
v12 patches2 repliesSuperseded

Changes in v7 from the cover letter

1) Add tst_brk in tst_cmd_present
2) Remove "present" attribute from the json parser

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4lib: Add support option for .needs_cmdsinclude/tst_cmd.h include/tst_test.h lib/newlib_tests/tst_needs_cmds01.c +24 more+155 -875 replies
2/4tst_test.c: Add tst_cmd_present check if a command is presentinclude/tst_test.h lib/tst_test.c+30 -04 replies
3/4ioctl_loop01.c: Add new support .needs_cmdstestcases/kernel/syscalls/ioctl/ioctl_loop01.c+17 -177 replies
4/4shell_loader_cmd.sh: New test case check needs_cmdstestcases/lib/run_tests.sh testcases/lib/tests/shell_loader_cmd.sh+29 -02 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchPetr VorelCyril HrubisLi Wang
1/4R-b R-b R-b
2/4R-b R-b
3/4R-b R-b R-b
4/4R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v7 thread

Cover letter [LTP] [PATCH v7 0/4] new cmd support option for needs_cmds

v6->v7:
1) Add tst_brk in tst_cmd_present
2) Remove "present" attribute from the json parser

Wei Gao (4):
lib: Add support option for .needs_cmds
tst_test.c: Add tst_cmd_present check if a command is present ioctl_loop01.c: Add new support .needs_cmds shell_loader_cmd.sh: New test case check needs_cmds

 include/tst_cmd.h                             | 13 +++++
 include/tst_test.h                            | 16 +++++-
 lib/newlib_tests/tst_needs_cmds01.c           | 16 +++---
 lib/newlib_tests/tst_needs_cmds02.c           |  6 +-
 lib/newlib_tests/tst_needs_cmds03.c           |  6 +-
 lib/newlib_tests/tst_needs_cmds04.c           |  6 +-
 lib/newlib_tests/tst_needs_cmds05.c           |  6 +-
 lib/newlib_tests/tst_needs_cmds06.c           |  6 +-
 lib/newlib_tests/tst_needs_cmds07.c           |  6 +-
 lib/newlib_tests/tst_needs_cmds08.c           |  8 +--
 lib/tst_test.c                                | 27 +++++++--
 testcases/kernel/device-drivers/zram/zram03.c |  8 +--
 testcases/kernel/fs/squashfs/squashfs01.c     |  6 +-
 testcases/kernel/security/aslr/aslr01.c       |  6 +-
 testcases/kernel/syscalls/add_key/add_key05.c | 10 ++--
 .../kernel/syscalls/fanotify/fanotify22.c     |  6 +-
 testcases/kernel/syscalls/ioctl/ioctl09.c     |  6 +-
 .../kernel/syscalls/ioctl/ioctl_loop01.c      | 34 +++++------
 testcases/kernel/syscalls/madvise/madvise11.c |  8 +--
 .../kernel/syscalls/quotactl/quotactl01.c     |  6 +-
 .../kernel/syscalls/quotactl/quotactl04.c     |  6 +-
 .../kernel/syscalls/quotactl/quotactl06.c     |  6 +-
 .../kernel/syscalls/quotactl/quotactl08.c     |  6 +-
 .../kernel/syscalls/quotactl/quotactl09.c     |  6 +-
 testcases/kernel/syscalls/statx/statx05.c     |  8 +--
 testcases/kernel/syscalls/statx/statx07.c     |  6 +-
 testcases/kernel/syscalls/statx/statx09.c     |  6 +-
 testcases/lib/run_tests.sh                    |  1 +
 testcases/lib/tests/shell_loader_cmd.sh       | 28 ++++++++++
 testcases/lib/tst_run_shell.c                 | 56 ++++++++++++++++++-
 30 files changed, 231 insertions(+), 104 deletions(-)
 create mode 100755 testcases/lib/tests/shell_loader_cmd.sh
Signature · 5 lines
2.52.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp