selftests: bpf: Check that PROG_TEST_RUN repeats as requested
authorLorenz Bauer <lmb@cloudflare.com>
Wed, 3 Mar 2021 10:18:15 +0000 (10:18 +0000)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 5 Mar 2021 03:11:29 +0000 (19:11 -0800)
commitabab306ff04b570e817be3f026068fe9a5d99fbb
tree26963b3bf2701d82e7b26a9c9d0ca724d913b9df
parent509b2937bce90089fd2785db9f27951a3d850c34
selftests: bpf: Check that PROG_TEST_RUN repeats as requested

Extend a simple prog_run test to check that PROG_TEST_RUN adheres
to the requested repetitions. Convert it to use BPF skeleton.

Signed-off-by: Lorenz Bauer <lmb@cloudflare.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210303101816.36774-5-lmb@cloudflare.com
tools/testing/selftests/bpf/prog_tests/prog_run_xattr.c