[LTP] [PATCH 00/10] Fix tests failing with setsid
Andrea Cervesato
andrea.cervesato@suse.de
Wed Dec 11 13:20:23 CET 2024
Following tests are failing when running on a new session started with
setsid command/syscall: pty01, ptem01, setpgid01.
Tihs patch-set refactor them in order to fix this issue. Some tests like
pty01 and ptem01 have been split into multiple files due to their
complexity.
Fixes: https://github.com/linux-test-project/kirk/issues/28
Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
Andrea Cervesato (10):
Refactor setpgid01 test
Refactor ptem01 test
Add ptem02 test
Add ptem03 test
Add ptem04 test
Add ptem05 test
Add ptem06 test
Refactor pty01 test
Add pty08 test
Add pty09 test
runtest/pty | 7 +
testcases/kernel/pty/.gitignore | 7 +
testcases/kernel/pty/ptem01.c | 463 +++-----------------------
testcases/kernel/pty/ptem02.c | 78 +++++
testcases/kernel/pty/ptem03.c | 56 ++++
testcases/kernel/pty/ptem04.c | 57 ++++
testcases/kernel/pty/ptem05.c | 58 ++++
testcases/kernel/pty/ptem06.c | 59 ++++
testcases/kernel/pty/pty01.c | 417 +++--------------------
testcases/kernel/pty/pty08.c | 60 ++++
testcases/kernel/pty/pty09.c | 89 +++++
testcases/kernel/syscalls/setpgid/setpgid01.c | 152 ++-------
12 files changed, 592 insertions(+), 911 deletions(-)
---
base-commit: 8f2292af050fd64c447dd462880d0b0a19d79448
change-id: 20241204-fix_setsid_tests-876a46267285
Best regards,
--
Andrea Cervesato <andrea.cervesato@suse.com>
More information about the ltp
mailing list