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

Jinseok Kim always.starving0@gmail.com
Sun May 3 10:55:37 CEST 2026


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


More information about the ltp mailing list