Skip to content

selftests/futex: Migrate functional tests to harness and fix validations

Wake Liu linux-kselftest lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2selftests/futex: Migrate functional tests to harnesstools/testing/selftests/futex/functional/futex_wait_timeout.c tools/testing/selftests/futex/functional/futex_wait_wouldblock.c tools/testing/selftests/futex/functional/futex_waitv.c+118 -1301 reply
2/2selftests/futex: Correct validation logic in waitvtools/testing/selftests/futex/functional/futex_waitv.c+20 -250 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: Migrate functional tests to harness and fix validations

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(-)
Signature · 1 line
2.54.0.746.g67dd491aae-goog