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

From: André Almeida
Date: Tue Apr 27 2021 - 09:53:48 EST


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/20210422194417.866740847@xxxxxxxxxxxxx/

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(-)

--
2.31.1