selftests/bpf: Update bpftool's consistency script for checking options
authorQuentin Monnet <quentin@isovalent.com>
Fri, 30 Jul 2021 21:54:33 +0000 (22:54 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 30 Jul 2021 22:40:27 +0000 (15:40 -0700)
commitda87772f086fc40e0ced9deb939400b09a182194
tree0124626c0ec10a795c54722de9cab17169d56891
parentc07ba629df97b796ca7bbdfbf4748266ead27745
selftests/bpf: Update bpftool's consistency script for checking options

Update the script responsible for checking that the different types used
at various places in bpftool are synchronised, and extend it to check
the consistency of options between the help messages in the source code
and the manual pages.

Signed-off-by: Quentin Monnet <quentin@isovalent.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210730215435.7095-6-quentin@isovalent.com
tools/testing/selftests/bpf/test_bpftool_synctypes.py