Skip to content

syscalls/pause: Refactor tests

Ricardo B. Marlière via ltp ltp 3 versions – In review

Get series with b4
b4 am [email protected] change-id 20250217-conversions-pause-4b9d4be3f876

Versions newest first

  1. v3 Latest5 patches 7 repliesIn review
  2. v23 patches 4 repliesSuperseded
  3. v12 patches 3 repliesSuperseded

Changes in v3 from the cover letter

- Removed pause02.
- Extended pause01 to cover other signals.
- Fixed the checkpoints usage.
- Used tst_strstatus in pause03.
- Renamed pause03 to pause02.
- Link to v2: https://lore.kernel.org/r/[email protected]

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5syscalls/pause01: Clean uptestcases/kernel/syscalls/pause/pause01.c+15 -260 replies
2/5syscalls/pause01: Extend test to other signalstestcases/kernel/syscalls/pause/pause01.c+23 -80 replies
3/5syscalls/pause02: Delete duplicated testruntest/syscalls testcases/kernel/syscalls/pause/pause02.c+0 -1486 replies
4/5syscalls/pause03: Refactor into new APItestcases/kernel/syscalls/pause/pause03.c+31 -891 reply
5/5syscalls/pause03: Rename to pause02runtest/syscalls testcases/kernel/syscalls/pause/pause02.c+1 -10 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [LTP] [PATCH v3 0/5] syscalls/pause: Refactor tests

---
Changes in v3 (suggestions by Cyril):
- Removed pause02.
- Extended pause01 to cover other signals.
- Fixed the checkpoints usage.
- Used tst_strstatus in pause03.
- Renamed pause03 to pause02.
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- Added a cleanup commit for pause01
- Made use of LTP_ATTRIBUTE_UNUSED, TST_EXP_FAIL, TST_EXP_EXPR, SAFE_KILL
as suggested by Andrea.
- Fixed test descriptions
- Added 2025 copyright
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Ricardo B. Marlière (5):
syscalls/pause01: Clean up syscalls/pause01: Extend test to other signals syscalls/pause02: Delete duplicated test syscalls/pause03: Refactor into new API syscalls/pause03: Rename to pause02

 runtest/syscalls                          |   1 -
 testcases/kernel/syscalls/pause/pause01.c |  64 ++++++------
 testcases/kernel/syscalls/pause/pause02.c | 159 ++++++------------------------
 testcases/kernel/syscalls/pause/pause03.c | 104 -------------------
 4 files changed, 63 insertions(+), 265 deletions(-)

---
base-commit: af4da3e436f891df500c552a1396925acf204457
change-id: 20250217-conversions-pause-4b9d4be3f876

Best regards,

Signature · 5 lines
Ricardo B. Marlière <[email protected]>


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