aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c
diff options
context:
space:
mode:
authorJoel Granados <j.granados@samsung.com>2023-06-16 10:59:19 +0200
committerLuis Chamberlain <mcgrof@kernel.org>2023-06-18 02:32:54 -0700
commitec866cc6f8a90a65cd085377405c34f0f6d9ba60 (patch)
tree1289bb2b31cc6aefc7bd1145e275214039e4bc79 /tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c
parent35576438591e8d37c7651e6ff56f2e07c7f9615a (diff)
test_sysctl: Add an option to prevent test skip
Tests were being skipped because the target was not present. Add a flag that controls whether to skip a test based on the presence of the target. Actually skip tests in the test_case function with a "return" instead of a "continue". Signed-off-by: Joel Granados <j.granados@samsung.com> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c')
0 files changed, 0 insertions, 0 deletions