]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Add test for "bpftool feature" command
authorMichal Rostecki <mrostecki@opensuse.org>
Wed, 26 Feb 2020 16:59:39 +0000 (17:59 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 26 Feb 2020 17:34:34 +0000 (18:34 +0100)
commit736332740e295d9b6fc524f0447448f6089911d9
tree151ce51a79c919a4810982e05a76c62802281d43
parentad92b12a6e0ebfb6d32693f374ac8572f527c0c1
selftests/bpf: Add test for "bpftool feature" command

Add Python module with tests for "bpftool feature" command, which mainly
checks whether the "full" option is working properly.

Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Quentin Monnet <quentin@isovalent.com>
Link: https://lore.kernel.org/bpf/20200226165941.6379-6-mrostecki@opensuse.org
tools/testing/selftests/.gitignore
tools/testing/selftests/bpf/Makefile
tools/testing/selftests/bpf/test_bpftool.py [new file with mode: 0644]
tools/testing/selftests/bpf/test_bpftool.sh [new file with mode: 0755]