diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2016-10-17 14:28:36 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-18 11:35:55 -0400 |
commit | 5aa5bd14c5f8660c64ceedf14a549781be47e53d (patch) | |
tree | 218c2af2722d776a1b48604f42c49cd4459c0b5f /MAINTAINERS | |
parent | 1a776b9ce82d2df9c7ba140588a49721ffb0dc8f (diff) | |
download | linux-5aa5bd14c5f8660c64ceedf14a549781be47e53d.tar.gz linux-5aa5bd14c5f8660c64ceedf14a549781be47e53d.tar.bz2 linux-5aa5bd14c5f8660c64ceedf14a549781be47e53d.zip |
bpf: add initial suite for selftests
Add a start of a test suite for kernel selftests. This moves test_verifier
and test_maps over to tools/testing/selftests/bpf/ along with various
code improvements and also adds a script for invoking test_bpf module.
The test suite can simply be run via selftest framework, f.e.:
# cd tools/testing/selftests/bpf/
# make
# make run_tests
Both test_verifier and test_maps were kind of misplaced in samples/bpf/
directory and we were looking into adding them to selftests for a while
now, so it can be picked up by kbuild bot et al and hopefully also get
more exposure and thus new test case additions.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'MAINTAINERS')
-rw-r--r-- | MAINTAINERS | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index 1fc66f0aceb5..f18b5467e37f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2521,6 +2521,8 @@ L: netdev@vger.kernel.org L: linux-kernel@vger.kernel.org S: Supported F: kernel/bpf/ +F: tools/testing/selftests/bpf/ +F: lib/test_bpf.c BROADCOM B44 10/100 ETHERNET DRIVER M: Michael Chan <michael.chan@broadcom.com> @@ -8413,7 +8415,6 @@ F: include/uapi/linux/net_namespace.h F: tools/net/ F: tools/testing/selftests/net/ F: lib/random32.c -F: lib/test_bpf.c NETWORKING [IPv4/IPv6] M: "David S. Miller" <davem@davemloft.net> |