public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 00/10] Fix tests failing with setsid
@ 2024-12-11 12:20 Andrea Cervesato
  2024-12-11 12:20 ` [LTP] [PATCH 01/10] Refactor setpgid01 test Andrea Cervesato
                   ` (9 more replies)
  0 siblings, 10 replies; 13+ messages in thread
From: Andrea Cervesato @ 2024-12-11 12:20 UTC (permalink / raw)
  To: ltp

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>


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-12-16 21:22 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-11 12:20 [LTP] [PATCH 00/10] Fix tests failing with setsid Andrea Cervesato
2024-12-11 12:20 ` [LTP] [PATCH 01/10] Refactor setpgid01 test Andrea Cervesato
2024-12-16 21:04   ` Petr Vorel
2024-12-11 12:20 ` [LTP] [PATCH 02/10] Refactor ptem01 test Andrea Cervesato
2024-12-16 21:22   ` Petr Vorel
2024-12-11 12:20 ` [LTP] [PATCH 03/10] Add ptem02 test Andrea Cervesato
2024-12-11 12:20 ` [LTP] [PATCH 04/10] Add ptem03 test Andrea Cervesato
2024-12-11 12:20 ` [LTP] [PATCH 05/10] Add ptem04 test Andrea Cervesato
2024-12-11 12:20 ` [LTP] [PATCH 06/10] Add ptem05 test Andrea Cervesato
2024-12-11 12:20 ` [LTP] [PATCH 07/10] Add ptem06 test Andrea Cervesato
2024-12-11 12:20 ` [LTP] [PATCH 08/10] Refactor pty01 test Andrea Cervesato
2024-12-11 12:20 ` [LTP] [PATCH 09/10] Add pty08 test Andrea Cervesato
2024-12-11 12:20 ` [LTP] [PATCH 10/10] Add pty09 test Andrea Cervesato

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox