aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/test_bpftool.sh
diff options
context:
space:
mode:
authorMichal Rostecki2020-02-26 17:59:39 +0100
committerDaniel Borkmann2020-02-26 18:34:34 +0100
commit736332740e295d9b6fc524f0447448f6089911d9 (patch)
tree151ce51a79c919a4810982e05a76c62802281d43 /tools/testing/selftests/bpf/test_bpftool.sh
parentad92b12a6e0ebfb6d32693f374ac8572f527c0c1 (diff)
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
Diffstat (limited to 'tools/testing/selftests/bpf/test_bpftool.sh')
-rwxr-xr-xtools/testing/selftests/bpf/test_bpftool.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/test_bpftool.sh b/tools/testing/selftests/bpf/test_bpftool.sh
new file mode 100755
index 000000000000..66690778e36d
--- /dev/null
+++ b/tools/testing/selftests/bpf/test_bpftool.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2020 SUSE LLC.
+
+python3 -m unittest -v test_bpftool.TestBpftool