[PATCH 0/2] selftests/futex: Migrate functional tests to harness and fix validations

From: Wake Liu

Date: Mon May 25 2026 - 03:58:08 EST


This series refactors futex functional tests to use the kselftest_harness.h
framework, fixing inconsistencies on older kernels where some syscalls
are missing, and corrects the validation logic in waitv negative tests.

Patch 1 migrates wait_timeout, waitv, and wait_wouldblock to the harness.
Patch 2 corrects the validation logic in waitv negative tests.

Wake Liu (2):
selftests/futex: Migrate functional tests to harness
selftests/futex: Correct validation logic in waitv

.../futex/functional/futex_wait_timeout.c | 101 ++++++-------
.../futex/functional/futex_wait_wouldblock.c | 40 ++---
.../selftests/futex/functional/futex_waitv.c | 142 +++++++++---------
3 files changed, 133 insertions(+), 150 deletions(-)

--
2.54.0.746.g67dd491aae-goog