]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Add CPU mask parsing tests
authorAndrii Nakryiko <andriin@fb.com>
Thu, 12 Dec 2019 01:35:58 +0000 (17:35 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 13 Dec 2019 20:59:55 +0000 (12:59 -0800)
commitc1e600b71ba44d92d54998bb0ec74ea1be7b1165
tree172eca8e18c216e5bdab2dcc44ebab00649d977e
parentaac518a7de89f8eabdffec4e8f72ff3e14004301
selftests/bpf: Add CPU mask parsing tests

Add a bunch of test validating CPU mask parsing logic and error handling.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191212013559.1690898-1-andriin@fb.com
tools/testing/selftests/bpf/prog_tests/cpu_mask.c [new file with mode: 0644]