selftests/futex: Migrate functional tests to harness and fix validations
Status from this message: The following commit has been merged into the locking/futex branch of tip:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
Changes in v2 from the cover letter
- Move is_futex_waitv_supported() helper to a shared header (include/futex2test.h) to avoid duplication, as suggested by André Almeida.
- Call is_futex_waitv_supported() check at the start of TEST(waitv) in futex_wait_timeout.c for consistency.
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | selftests/futex: Migrate functional tests to harnesstools/ tools/ tools/ +1 more | +117 | 0 replies | |
| 2/2 | selftests/futex: Correct validation logic in waitvtools/ | +20 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] selftests/futex: Migrate functional tests to harness and fix validations
This is v2 of the series to migrate futex functional tests to the harness.
Changes in v2:
- Move is_futex_waitv_supported() helper to a shared header (include/futex2test.h) to avoid duplication, as suggested by André Almeida.
- Call is_futex_waitv_supported() check at the start of TEST(waitv) in futex_wait_timeout.c for consistency.
Original description:
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.
Wake Liu (2):
selftests/futex: Migrate functional tests to harness selftests/futex: Correct validation logic in waitv
.../futex/functional/futex_wait_timeout.c | 104 ++++++-------- .../futex/functional/futex_wait_wouldblock.c | 33 ++--- .../selftests/futex/functional/futex_waitv.c | 135 ++++++++---------- .../selftests/futex/include/futex2test.h | 10 ++ 4 files changed, 132 insertions(+), 150 deletions(-)
Signature · 1 line
2.54.0.746.g67dd491aae-goog