Skip to content

syscalls: clean up getpid/getppid tests

Jinseok Kim ltp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2getpid: Link manpage and fix minor issuestestcases/kernel/syscalls/getpid/getpid01.c testcases/kernel/syscalls/getpid/getpid02.c+7 -61 reply
1/2getpid: Link manpage and fix minor issues+0 -00 replies
2/2getppid: Link manpage and fix minor issuestestcases/kernel/syscalls/getppid/getppid01.c testcases/kernel/syscalls/getppid/getppid02.c+5 -61 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [LTP] [PATCH 0/2] syscalls: clean up getpid/getppid tests

This series updates the tests to:
- Link to the manpage in docparse comments
- Remove unused header includes
- Fix minor style issues in getpid02.c
- Tighten input validation in getppid02.c

Also, getpid02.c and getppid02.c appear to have overlapping coverage. Since getpid02.c seems to exercise a broader set of checks, would merging getppid02.c into it make sense?

Jinseok Kim (2):
getpid: Link manpage and fix minor issues
getppid: Link manpage and fix minor issues

 testcases/kernel/syscalls/getpid/getpid01.c   |  3 ++-
 testcases/kernel/syscalls/getpid/getpid02.c   | 10 +++++-----
 testcases/kernel/syscalls/getppid/getppid01.c |  6 +++---
 testcases/kernel/syscalls/getppid/getppid02.c |  5 ++---
 4 files changed, 12 insertions(+), 12 deletions(-)

--
2.43.0

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp