selftests/bpf: add fwd enum resolution test for btf_dedup
authorAndrii Nakryiko <andriin@fb.com>
Mon, 11 Mar 2019 00:44:10 +0000 (17:44 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 14 Mar 2019 20:53:18 +0000 (13:53 -0700)
commit8fd7a61aa556ad518e897f58264a2e67f9c527f5
treef8595a44b351aebf6d14eef95fa827f3f86de5be
parent9768095ba97ce946838e8210f0b44f2fd36ec31d
selftests/bpf: add fwd enum resolution test for btf_dedup

This patch adds test verifying new btf_dedup logic of resolving
forward-declared enums.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/test_btf.c