net/handshake: Add Kunit tests for the handshake consumer API
authorChuck Lever <chuck.lever@oracle.com>
Mon, 17 Apr 2023 14:32:39 +0000 (10:32 -0400)
committerJakub Kicinski <kuba@kernel.org>
Thu, 20 Apr 2023 01:48:48 +0000 (18:48 -0700)
commit88232ec1ec5ecf4aa5de439cff3d5e2b7adcac93
tree3b7255875d4f657e0cf0e3087ecab918f3d01ba3
parent2fd5532044a89d2403b543520b4902e196f7d165
net/handshake: Add Kunit tests for the handshake consumer API

These verify the API contracts and help exercise lifetime rules for
consumer sockets and handshake_req structures.

One way to run these tests:

./tools/testing/kunit/kunit.py run --kunitconfig ./net/handshake/.kunitconfig

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/Kconfig
net/handshake/.kunitconfig [new file with mode: 0644]
net/handshake/Makefile
net/handshake/handshake-test.c [new file with mode: 0644]
net/handshake/handshake.h
net/handshake/netlink.c
net/handshake/request.c
net/handshake/tlshd.c