summaryrefslogtreecommitdiff
path: root/lib/test_static_keys.c
diff options
context:
space:
mode:
authorGeliang Tang <geliang.tang@suse.com>2022-11-30 15:06:31 +0100
committerJakub Kicinski <kuba@kernel.org>2022-12-01 20:06:07 -0800
commit6c73008aa301b7456b80d0e1416a240815fe947b (patch)
tree5e0eef5dddb8c8d06e4c407c58c4c2f0ccda64b1 /lib/test_static_keys.c
parent1cc94ac1af4b18c69981425df6f0355f13d9304d (diff)
selftests: mptcp: listener test for userspace PM
This patch adds test coverage for listening sockets created by userspace processes. It adds a new test named test_listener() and a new verifying helper verify_listener_events(). The new output looks like this: CREATE_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1 (ns1) [OK] DESTROY_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1 (ns1) [OK] MP_PRIO TX [OK] MP_PRIO RX [OK] CREATE_LISTENER 10.0.2.2:37106 [OK] CLOSE_LISTENER 10.0.2.2:37106 [OK] Signed-off-by: Geliang Tang <geliang.tang@suse.com> Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/test_static_keys.c')
0 files changed, 0 insertions, 0 deletions