-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Chuck Lever
authored and
Jakub Kicinski
committed
Apr 20, 2023
1 parent
2fd5532
commit 88232ec
Showing
8 changed files
with
569 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
CONFIG_KUNIT=y | ||
CONFIG_UBSAN=y | ||
CONFIG_STACKTRACE=y | ||
CONFIG_NET=y | ||
CONFIG_NETWORK_FILESYSTEMS=y | ||
CONFIG_INET=y | ||
CONFIG_MULTIUSER=y | ||
CONFIG_NFS_FS=y | ||
CONFIG_SUNRPC=y | ||
CONFIG_NET_HANDSHAKE=y | ||
CONFIG_NET_HANDSHAKE_KUNIT_TEST=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.