[LTP] [PATCH v1 0/2] Add futex_wait testing suite

Andrea Cervesato andrea.cervesato@suse.de
Mon Jan 17 21:23:52 CET 2022


futex_waitv tests have been inspired by
tools/testing/selftests/futex/functional/futex_waitv.c that can be found
in the Linux kernel official repository.

Andrea Cervesato (2):
  Update lapi/futex.h fallback
  Add futex_waitv tests suite

 configure.ac                                  |   1 +
 include/lapi/futex.h                          | 178 ++++++++++++++++++
 lib/tst_checkpoint.c                          |   2 +-
 testcases/kernel/syscalls/clone/clone08.c     |   3 +-
 testcases/kernel/syscalls/futex/.gitignore    |   3 +
 testcases/kernel/syscalls/futex/futex2test.h  |  23 +++
 .../syscalls/futex/futex_cmp_requeue01.c      |   2 +-
 .../syscalls/futex/futex_cmp_requeue02.c      |   2 +-
 .../kernel/syscalls/futex/futex_waitv01.c     | 129 +++++++++++++
 .../kernel/syscalls/futex/futex_waitv02.c     | 103 ++++++++++
 .../kernel/syscalls/futex/futex_waitv03.c     | 111 +++++++++++
 testcases/kernel/syscalls/futex/futextest.h   |  56 ++----
 12 files changed, 567 insertions(+), 46 deletions(-)
 create mode 100644 testcases/kernel/syscalls/futex/futex2test.h
 create mode 100644 testcases/kernel/syscalls/futex/futex_waitv01.c
 create mode 100644 testcases/kernel/syscalls/futex/futex_waitv02.c
 create mode 100644 testcases/kernel/syscalls/futex/futex_waitv03.c

-- 
2.34.1



More information about the ltp mailing list