Re: [PATCH v2 0/2] selftests/bpf: convert test_xdp_veth to test_progs framework

From: Stanislav Fomichev
Date: Mon Jul 15 2024 - 17:35:34 EST


On 07/15, Alexis Lothoré (eBPF Foundation) wrote:
> Hello everyone,
>
> this small series is a first step in a larger effort aiming to help improve
> eBPF selftests and the testing coverage in CI. It focuses for now on
> test_xdp_veth.sh, a small test which is not integrated yet in test_progs.
> The series is mostly about a rewrite of test_xdp_veth.sh to make it able to
> run under test_progs, relying on libbpf to manipulate bpf programs involved
> in the test.
>
> Signed-off-by: Alexis Lothoré <alexis.lothore@xxxxxxxxxxx>
> ---
> Changes in v2:
> - fix many formatting issues raised by checkpatch
> - use static namespaces instead of random ones
> - use SYS_NOFAIL instead of snprintf() + system ()
> - squashed the new test addition patch and the old test removal patch
> - Link to v1: https://lore.kernel.org/r/20240711-convert_test_xdp_veth-v1-0-868accb0a727@xxxxxxxxxxx

Acked-by: Stanislav Fomichev <sdf@xxxxxxxxxxx>