selftests/timens: Add a test for futex()
authorAndrei Vagin <avagin@gmail.com>
Thu, 15 Oct 2020 16:00:20 +0000 (09:00 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 20 Oct 2020 15:02:57 +0000 (17:02 +0200)
commita4fd8414659bf470e2146b352574bbd274e54b7a
tree6b79f348045cc2e84dc9a1d153e8f8a5ee4bb8b2
parentc2f7d08cccf4af2ce6992feaabb9e68e4ae0bff3
selftests/timens: Add a test for futex()

Output on success:
 1..2
 ok 1 futex with the 0 clockid
 ok 2 futex with the 1 clockid
 # Totals: pass:2 fail:0 xfail:0 xpass:0 skip:0 error:0

Signed-off-by: Andrei Vagin <avagin@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20201015160020.293748-2-avagin@gmail.com
tools/testing/selftests/timens/Makefile
tools/testing/selftests/timens/futex.c [new file with mode: 0644]