selftests/bpf: Run reuseport tests in a loop
authorJakub Sitnicki <jakub@cloudflare.com>
Thu, 12 Dec 2019 10:22:55 +0000 (11:22 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 13 Dec 2019 20:38:00 +0000 (12:38 -0800)
commitce7cb5f3921cdf0f65ab877764265c6c0be34c3c
tree1d5b83e4ee38e4bd7bb5113f43712d5b0cbb1e60
parent9936338258308aa008387dc4f9fd3f5fec6c046a
selftests/bpf: Run reuseport tests in a loop

Prepare for switching reuseport tests to test_progs framework. Loop over
the tests and perform setup/cleanup for each test separately, remembering
that with test_progs we can select tests to run.

Signed-off-by: Jakub Sitnicki <jakub@cloudflare.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191212102259.418536-7-jakub@cloudflare.com
tools/testing/selftests/bpf/test_select_reuseport.c