[LTP] [PATCH v1 0/2] Add futex_wait testing suite
Andrea Cervesato
andrea.cervesato@suse.com
Mon Jan 17 22:39:14 CET 2022
Hi!
there's an issue with this patch, since it's not including
__NR_futex_waitv in LTP just in case futex2 is not supported. Please
consider the next version instead.
On 1/17/22 21:23, Andrea Cervesato wrote:
> 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
>
More information about the ltp
mailing list