waitpid01: Add subtests from waitpid05
PATCH 1/1 waitpid01: Add subtests from waitpid05
The waitpid05 test uses mostly the same test scenario as waitpid01 except the child uses kill(getpid(), sig) instead of raise(sig) and the test also verifies that signals trigger coredump generation according to POSIX. Add both subtests to waitpid01 and drop the now obsolete waitpid05.
--- runtest/syscalls | 1 - testcases/kernel/syscalls/waitpid/.gitignore | 1 - testcases/kernel/syscalls/waitpid/waitpid01.c | 124 ++++++--- testcases/kernel/syscalls/waitpid/waitpid05.c | 247 ------------------ 4 files changed, 90 insertions(+), 283 deletions(-) delete mode 100644 testcases/kernel/syscalls/waitpid/waitpid05.c
runtest/syscalls +0 -1
@@ -1710,7 +1710,6 @@ wait403 wait403 waitpid01 waitpid01 waitpid03 waitpid03 waitpid04 waitpid04 -waitpid05 waitpid05 waitpid06 waitpid06 waitpid07 waitpid07 waitpid08 waitpid08
testcases/kernel/syscalls/waitpid/.gitignore +0 -1
@@ -1,7 +1,6 @@ /waitpid01 /waitpid03 /waitpid04 -/waitpid05 /waitpid06 /waitpid07 /waitpid08
testcases/kernel/syscalls/waitpid/waitpid01.c +90 -34
162 lines not on this page · raw message
testcases/kernel/syscalls/waitpid/waitpid05.c deleted +0 -247
247 lines not on this page · raw message
Signature · 5 lines
2.42.1 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi Martin,
Quoted 5 lines
The waitpid05 test uses mostly the same test scenario as waitpid01 except the child uses
kill(getpid(), sig)instead of raise(sig) and the test also verifies that signals trigger coredump generation according to POSIX. Add both subtests to waitpid01 and drop the now obsolete waitpid05.
thanks a lot, merged with the signal SIG_DFL fix we discussed on your previous waitpid01 change.
Kind regards,
Petr
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp