diff options
author | Michal Rostecki | 2020-02-26 17:59:39 +0100 |
---|---|---|
committer | Daniel Borkmann | 2020-02-26 18:34:34 +0100 |
commit | 736332740e295d9b6fc524f0447448f6089911d9 (patch) | |
tree | 151ce51a79c919a4810982e05a76c62802281d43 /tools/testing/selftests/bpf/test_bpftool.sh | |
parent | ad92b12a6e0ebfb6d32693f374ac8572f527c0c1 (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-x | tools/testing/selftests/bpf/test_bpftool.sh | 5 |
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 |