selftests/bpf: Test syscall command parsing
authorJoe Stringer <joe@cilium.io>
Tue, 2 Mar 2021 17:19:45 +0000 (09:19 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 5 Mar 2021 02:39:45 +0000 (18:39 -0800)
commitaccbd33a9b0328777899a85d148040e4d8921d87
tree4a7bcd39778d4dd8a6e8a5f59520c1dc73676256
parent62b379a233a79e6f4d2e8b14750ae8fa13b8caf8
selftests/bpf: Test syscall command parsing

Add building of the bpf(2) syscall commands documentation as part of the
docs building step in the build. This allows us to pick up on potential
parse errors from the docs generator script as part of selftests.

The generated manual pages here are not intended for distribution, they
are just a fragment that can be integrated into the other static text of
bpf(2) to form the full manual page.

Signed-off-by: Joe Stringer <joe@cilium.io>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Reviewed-by: Quentin Monnet <quentin@isovalent.com>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20210302171947.2268128-14-joe@cilium.io
tools/testing/selftests/bpf/.gitignore
tools/testing/selftests/bpf/Makefile.docs