selftests/futex: futex_waitv wouldblock test should fail
authorEdward Liaw <edliaw@google.com>
Fri, 4 Apr 2025 22:12:20 +0000 (22:12 +0000)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 8 Apr 2025 22:50:19 +0000 (16:50 -0600)
commit7d50e00fef2832e98d7e06bbfc85c1d66ee110ca
tree493ceebe01a47026eb0fd64e6b5da9cd45900f01
parent170ec11935de4acced0ae001562cca3a144acd67
selftests/futex: futex_waitv wouldblock test should fail

Testcase should fail if -EWOULDBLOCK is not returned when expected value
differs from actual value from the waiter.

Link: https://lore.kernel.org/r/20250404221225.1596324-1-edliaw@google.com
Fixes: 9d57f7c79748920636f8293d2f01192d702fe390 ("selftests: futex: Test sys_futex_waitv() wouldblock")
Signed-off-by: Edward Liaw <edliaw@google.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: André Almeida <andrealmeid@igalia.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/futex/functional/futex_wait_wouldblock.c