Skip to content

Commit 9ed0567

Browse files
committed
btf_unit_test: Load BPF-object file btf_unit_test_bpf.o
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
1 parent 1f15e94 commit 9ed0567

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

AF_XDP-interaction/btf_unit_test.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,5 +128,10 @@ int main(int argc, char **argv)
128128
return EXIT_FAIL_BTF;
129129
}
130130

131+
bpf_obj = load_bpf_object("btf_unit_test_bpf.o");
132+
if (!bpf_obj)
133+
return EXIT_FAIL_BPF;
134+
135+
131136
return EXIT_OK;
132137
}

0 commit comments

Comments
 (0)