]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests: ntsync: Add tests for alertable waits.
authorElizabeth Figura <zfigura@codeweavers.com>
Fri, 13 Dec 2024 19:35:06 +0000 (13:35 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jan 2025 12:18:12 +0000 (13:18 +0100)
commitdd914e0d07423c172cd8fdcf25e1ee92485a95cf
treed5f8125472e0e318075173411725371cc1b71430
parenta2e5a8cea74502cef32ffadb9796df0073513181
selftests: ntsync: Add tests for alertable waits.

Test the "alert" functionality of NTSYNC_IOC_WAIT_ALL and NTSYNC_IOC_WAIT_ANY,
when a wait is woken with an alert and when it is woken by an object.

Signed-off-by: Elizabeth Figura <zfigura@codeweavers.com>
Link: https://lore.kernel.org/r/20241213193511.457338-26-zfigura@codeweavers.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/drivers/ntsync/ntsync.c