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)
commit65bc4c4063ae36223375a920b7d116e54d7def34
tree172eca8e18c216e5bdab2dcc44ebab00649d977e
parent6803ee25f0ead1e836808acb14396bb9a9849113
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]