selftests: add epoll selftests
This adds the promised selftest for epoll. It will verify the wakeups of epoll. Including leaf and nested mode, epoll_wait() and poll() and multi-threads. Link: http://lkml.kernel.org/r/20191009121518.4027-1-r@hev.cc Signed-off-by: hev <r@hev.cc> Reviewed-by: Roman Penyaev <rpenyaev@suse.de> Cc: Jason Baron <jbaron@akamai.com> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
339ddb53d3
commit
f2728fe80c
|
@ -13,6 +13,7 @@ TARGETS += efivarfs
|
||||||
TARGETS += exec
|
TARGETS += exec
|
||||||
TARGETS += filesystems
|
TARGETS += filesystems
|
||||||
TARGETS += filesystems/binderfs
|
TARGETS += filesystems/binderfs
|
||||||
|
TARGETS += filesystems/epoll
|
||||||
TARGETS += firmware
|
TARGETS += firmware
|
||||||
TARGETS += ftrace
|
TARGETS += ftrace
|
||||||
TARGETS += futex
|
TARGETS += futex
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
epoll_wakeup_test
|
|
@ -0,0 +1,7 @@
|
||||||
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
|
||||||
|
CFLAGS += -I../../../../../usr/include/
|
||||||
|
LDFLAGS += -lpthread
|
||||||
|
TEST_GEN_PROGS := epoll_wakeup_test
|
||||||
|
|
||||||
|
include ../../lib.mk
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue