Skip to content

Commit

Permalink
net: filter: improve test case framework
Browse files Browse the repository at this point in the history
This patch simplifies and refactors the test case code a
bit and also adds a summary of all test that passed or
failed in the kernel log, so that it's easier to spot if
something has failed.

Future work could further extend the test framework to also
support different input 'stimuli' i.e. related structures
to seccomp.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Daniel Borkmann authored and David S. Miller committed May 23, 2014
1 parent 04caa48 commit 10f18e0
Showing 1 changed file with 233 additions and 155 deletions.
Loading

0 comments on commit 10f18e0

Please sign in to comment.