Skip to content

selftests: futex: Improve timeout testing

André Almeida linux-kselftest lkml 1 version Applied

Status from this message: The following commit has been merged into the locking/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2selftests: futex: Correctly include headers dirstools/testing/selftests/futex/functional/Makefile+2 -10 replies
2/2selftests: futex: Expand timeout testtools/testing/selftests/futex/functional/futex_wait_timeout.c+110 -160 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] selftests: futex: Improve timeout testing

This small series expands futex timeout selftests by checking if all operations that allows timeouts works as expected. When some version of Thomas' series "futex: Bugfixes and FUTEX_LOCK_PI2"[0] get merged, I'll add the new rules to the timeout test. This test should be used to check for regressions when modifying the timeout path or changing the interface.

Additionally, fix a bug in the Makefile that can be found when compiling selftests with new operations, like the one defined at [0] or from the futex2 patchset.

[0] https://lore.kernel.org/lkml/[email protected]/

André Almeida (2):
selftests: futex: Correctly include headers dirs
selftests: futex: Expand timeout test

 .../selftests/futex/functional/Makefile       |   3 +-
 .../futex/functional/futex_wait_timeout.c     | 126 +++++++++++++++---
 2 files changed, 112 insertions(+), 17 deletions(-)
Signature · 1 line
2.31.1