]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Move test_section_names into test_progs and fix it
authorAndrii Nakryiko <andriin@fb.com>
Wed, 23 Oct 2019 06:09:13 +0000 (23:09 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 23 Oct 2019 17:06:46 +0000 (10:06 -0700)
commit3e68ac245c7c8d4d94b44fb9418c7aa50b6073d4
tree3058dd6eaedbd04de6b66cf8dae1c991dac84a46
parent22e14bf4816e33908c59a5108a1e7ef7b451aa99
selftests/bpf: Move test_section_names into test_progs and fix it

Make test_section_names into test_progs test. Also fix ESRCH expected
results. Add uprobe/uretprobe and tp/raw_tp test cases.

Fixes: a03920a54546 ("libbpf: Teach bpf_object__open to guess program types")
Reported-by: kernel test robot <rong.a.chen@intel.com>
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191023060913.1713817-1-andriin@fb.com
tools/testing/selftests/bpf/Makefile
tools/testing/selftests/bpf/prog_tests/section_names.c [new file with mode: 0644]
tools/testing/selftests/bpf/test_section_names.c [deleted file]