Skip to content

Commit

Permalink
Add tests for the new sock/skb operators
Browse files Browse the repository at this point in the history
This commit adds tests to confirm that the sock/skb operators are
working correctly. Limited the new tests to TCP sock only, because skb
works in exactly the same way and adding tests for UDP and/or skb would
only duplicate tests for little benefit.

Also, stop checking protocol on sock tests as this is unreliable.

Signed-off-by: Kevin Sheldrake <kevin.sheldrake@isovalent.com>
  • Loading branch information
kevsecurity committed Jul 17, 2023
1 parent bf23de1 commit 958d704
Showing 1 changed file with 636 additions and 3 deletions.
Loading

0 comments on commit 958d704

Please sign in to comment.