93ef3d32ab
* tests/bpf-obj_get_info_by_fd-prog-v.c: New file. * tests/bpf-obj_get_info_by_fd-prog.c: Likewise. * tests/bpf-obj_get_info_by_fd-v.c: Likewise. * tests/bpf-obj_get_info_by_fd.c: Likewise. * configure.ac (AC_CHECK_HEADERS): Check for struct bpf_insn, struct bpf_map_info, and struct bpf_prog_info. * tests/pure_executables.list: Add bpf-obj_get_info_by_fd, bpf-obj_get_info_by_fd-v, bpf-obj_get_info_by_fd-prog, and bpf-obj_get_info_by_fd-prog-v. * tests/.gitignore: Likewise. * tests/gen_tests.in (bpf-obj_get_info_by_fd, bpf-obj_get_info_by_fd-v, bpf-obj_get_info_by_fd-prog, bpf-obj_get_info_by_fd-prog-v): New tests. Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
4 lines
79 B
C
4 lines
79 B
C
#define CHECK_OBJ_PROG 1
|
|
#define VERBOSE 1
|
|
#include "bpf-obj_get_info_by_fd.c"
|