]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests/futex: futex_waitv wouldblock test should fail
authorEdward Liaw <edliaw@google.com>
Fri, 4 Apr 2025 22:12:20 +0000 (22:12 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Apr 2025 08:43:24 +0000 (10:43 +0200)
commitd4d8662e6ec0faf4000de7f21309e0e08d49ceb1
tree955e0a263b17e8f36601eb2db1c675bba6d48ee9
parent420102835862f49ec15c545594278dc5d2712f42
selftests/futex: futex_waitv wouldblock test should fail

[ Upstream commit 7d50e00fef2832e98d7e06bbfc85c1d66ee110ca ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/futex/functional/futex_wait_wouldblock.c