mbox series

[0/2] selftests: futex: Expand futex testing

Message ID 20210531165036.41468-1-andrealmeid@collabora.com
Headers show
Series selftests: futex: Expand futex testing | expand

Message

André Almeida May 31, 2021, 4:50 p.m. UTC
This patchset expands test coverage for futex, implementing two new
selftests: one for testing different types of futexes and one for the
requeue operation.

André Almeida (2):
  selftests: futex: Add futex wait test
  selftests: futex: Add futex compare requeue test

 .../selftests/futex/functional/.gitignore     |   2 +
 .../selftests/futex/functional/Makefile       |   4 +-
 .../futex/functional/futex_requeue.c          | 145 ++++++++++++++
 .../selftests/futex/functional/futex_wait.c   | 180 ++++++++++++++++++
 .../testing/selftests/futex/functional/run.sh |   6 +
 5 files changed, 336 insertions(+), 1 deletion(-)
 create mode 100644 tools/testing/selftests/futex/functional/futex_requeue.c
 create mode 100644 tools/testing/selftests/futex/functional/futex_wait.c

Comments

Davidlohr Bueso June 2, 2021, 9:16 p.m. UTC | #1
On Mon, 31 May 2021, Andr� Almeida wrote:

>This patchset expands test coverage for futex, implementing two new

>selftests: one for testing different types of futexes and one for the

>requeue operation.


So these cases are covered by LTP, but I have no objection for also
having them in the kernel selftests too.

Acked-by: Davidlohr Bueso <dbueso@suse.de>