C API: .needs_cmds and SAFE_CMD()
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 0 repliesNew
- v10 of 6 patches 0 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | lib: Rename tst_run_cmd*() to tst_cmd*()doc/ include/ lib/ +16 more | +41 | 0 replies | |
| 2/5 | lib/tst_cmd_*(): Turn int pass_exit_val into enumdoc/ include/ lib/ +11 more | +48 | 0 replies | |
| 3/5 | lib/tst_cmd_*(): Search for program in $PATHdoc/ include/ lib/ | +17 | 0 replies | |
| 4/5 | lib: Implement SAFE_CMD() macro (new API only)doc/ include/ | +21 | 2 replies | |
| 4/5 | lib: Implement SAFE_CMD() macro (new API only)test-writing-guidelines.txt tst_safe_macros.h | +3 | 0 replies | |
| 5/5 | Use SAFE_CMD()doc/ include/ testcases/ +2 more | +11 | 1 reply | |
| 5/5 | Use SAFE_CMD()test-writing-guidelines.txt tst_safe_macros.h | +4 | 1 reply | |
| 5/5 | Use SAFE_CMD() | +0 | 0 replies | |
| 5/5 | Use SAFE_CMD() | +0 | 0 replies |
Reviews trailers per patch
8 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Li Wang | Yang Xu | Cyril Hrubis |
|---|---|---|---|
| 1/5 | |||
| 2/5 | R-b | R-b | R-b |
| 3/5 | R-b | R-b | R-b |
| 4/5 | R-b | R-b | R-b |
| 4/5 | R-b | R-b | R-b |
| 5/5 | R-b | R-b | R-b |
| 5/5 | R-b | R-b | R-b |
| 5/5 | R-b | R-b | R-b |
| 5/5 | R-b | R-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.
Cover letter [LTP] [PATCH v2 0/5] C API: .needs_cmds and SAFE_CMD()
Hi,
just in case due massive rename I'm posting the changes.
Kind regards,
Petr
Petr Vorel (5):
lib: Rename tst_run_cmd*() to tst_cmd*() lib/tst_cmd_*(): Turn int pass_exit_val into enum lib/tst_cmd_*(): Search for program in $PATH
lib: Implement SAFE_CMD() macro (new API only) Use SAFE_CMD()
doc/test-writing-guidelines.txt | 20 +++---
include/tst_cmd.h | 61 +++++++++++--------
include/tst_safe_macros.h | 17 ++++++
lib/{tst_run_cmd.c => tst_cmd.c} | 32 ++++++----
lib/tst_kernel.c | 3 +-
lib/tst_mkfs.c | 2 +-
lib/tst_module.c | 5 +-
lib/tst_virt.c | 2 +-
testcases/cve/stack_clash.c | 2 +-
testcases/kernel/input/input_helper.c | 4 +-
testcases/kernel/syscalls/acct/acct02.c | 2 +-
testcases/kernel/syscalls/add_key/add_key05.c | 16 ++---
.../copy_file_range/copy_file_range02.c | 2 +-
.../kernel/syscalls/quotactl/quotactl01.c | 11 +---
.../kernel/syscalls/quotactl/quotactl06.c | 9 +--
.../syscalls/setpriority/setpriority01.c | 4 +-
testcases/kernel/syscalls/swapon/libswapon.c | 2 +-
testcases/network/netstress/netstress.c | 2 +-
.../network/nfs/nfs_stress/nfs05_make_tree.c | 6 +-
tools/apicmds/ltpapicmd.c | 2 +-
20 files changed, 111 insertions(+), 93 deletions(-)
rename lib/{tst_run_cmd.c => tst_cmd.c} (86%)Signature · 1 line
2.26.0