[PATCH bpf-next 0/2] selftests/bpf: Move test_lwt_seg6local to test_progs

Bastien Curutchet (eBPF Foundation) posted 2 patches 11 months, 1 week ago
tools/testing/selftests/bpf/Makefile               |   1 -
.../selftests/bpf/prog_tests/lwt_seg6local.c       | 176 +++++++++++++++++++++
tools/testing/selftests/bpf/test_lwt_seg6local.sh  | 156 ------------------
3 files changed, 176 insertions(+), 157 deletions(-)
[PATCH bpf-next 0/2] selftests/bpf: Move test_lwt_seg6local to test_progs
Posted by Bastien Curutchet (eBPF Foundation) 11 months, 1 week ago
Hi all,

This patch series continues the work to migrate the script tests into
prog_tests.

test_lwt_seg6local.sh tests some bpf_lwt_* helpers. It contains only one
test that uses a network topology quite different than the ones that
can be found in others prog_tests/lwt_*.c files so I add a new
prog_tests/lwt_seg6local.c file.

While working on the migration I noticed that some routes present in the
script weren't needed so PATCH 1 deletes them and then PATCH 2 migrates
the test into the test_progs framework.

Signed-off-by: Bastien Curutchet (eBPF Foundation) <bastien.curutchet@bootlin.com>
---
Bastien Curutchet (eBPF Foundation) (2):
      selftests/bpf: lwt_seg6local: Remove unused routes
      selftests/bpf: lwt_seg6local: Move test to test_progs

 tools/testing/selftests/bpf/Makefile               |   1 -
 .../selftests/bpf/prog_tests/lwt_seg6local.c       | 176 +++++++++++++++++++++
 tools/testing/selftests/bpf/test_lwt_seg6local.sh  | 156 ------------------
 3 files changed, 176 insertions(+), 157 deletions(-)
---
base-commit: 86eb3a47230a41c6ccf5cdae8ee0a7e7292aa29d
change-id: 20250214-seg6local-64bcde44b66e

Best regards,
-- 
Bastien Curutchet (eBPF Foundation) <bastien.curutchet@bootlin.com>
Re: [PATCH bpf-next 0/2] selftests/bpf: Move test_lwt_seg6local to test_progs
Posted by Stanislav Fomichev 11 months, 1 week ago
On 03/07, Bastien Curutchet (eBPF Foundation) wrote:
> Hi all,
> 
> This patch series continues the work to migrate the script tests into
> prog_tests.
> 
> test_lwt_seg6local.sh tests some bpf_lwt_* helpers. It contains only one
> test that uses a network topology quite different than the ones that
> can be found in others prog_tests/lwt_*.c files so I add a new
> prog_tests/lwt_seg6local.c file.
> 
> While working on the migration I noticed that some routes present in the
> script weren't needed so PATCH 1 deletes them and then PATCH 2 migrates
> the test into the test_progs framework.
> 
> Signed-off-by: Bastien Curutchet (eBPF Foundation) <bastien.curutchet@bootlin.com>

Acked-by: Stanislav Fomichev <sdf@fomichev.me>