aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/futex/functional/Makefile
diff options
context:
space:
mode:
authorAndré Almeida <andrealmeid@collabora.com>2021-09-23 14:11:08 -0300
committerPeter Zijlstra <peterz@infradead.org>2021-10-07 13:51:12 +0200
commit5e59c1d1c78c9cdd8834f3242db4a76f617fa4ad (patch)
tree56dc57bbddb5496600a6125d9ed81e76791698de /tools/testing/selftests/futex/functional/Makefile
parentfutex,arm: Wire up sys_futex_waitv() (diff)
downloadlinux-dev-5e59c1d1c78c9cdd8834f3242db4a76f617fa4ad.tar.xz
linux-dev-5e59c1d1c78c9cdd8834f3242db4a76f617fa4ad.zip
selftests: futex: Add sys_futex_waitv() test
Create a new file to test the waitv mechanism. Test both private and shared futexes. Wake the last futex in the array, and check if the return value from futex_waitv() is the right index. Signed-off-by: André Almeida <andrealmeid@collabora.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20210923171111.300673-20-andrealmeid@collabora.com
Diffstat (limited to 'tools/testing/selftests/futex/functional/Makefile')
-rw-r--r--tools/testing/selftests/futex/functional/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/futex/functional/Makefile b/tools/testing/selftests/futex/functional/Makefile
index bd1fec59e010..5cc38de9d8ea 100644
--- a/tools/testing/selftests/futex/functional/Makefile
+++ b/tools/testing/selftests/futex/functional/Makefile
@@ -17,7 +17,8 @@ TEST_GEN_FILES := \
futex_wait_uninitialized_heap \
futex_wait_private_mapped_file \
futex_wait \
- futex_requeue
+ futex_requeue \
+ futex_waitv
TEST_PROGS := run.sh