diff options
| author | Alexis Lothoré (eBPF Foundation) <alexis.lothore@bootlin.com> | 2024-11-20 08:43:14 +0100 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2024-12-02 08:41:16 -0800 |
| commit | 2b044dd186f0f378894f1e590d62325cbbf9b085 (patch) | |
| tree | f0c71920251ab3c72039f7777652c73f51411d59 /tools/perf/scripts/python | |
| parent | selftests/bpf: replace CHECK calls with ASSERT macros in flow_dissector test (diff) | |
| download | linux-2b044dd186f0f378894f1e590d62325cbbf9b085.tar.gz linux-2b044dd186f0f378894f1e590d62325cbbf9b085.zip | |
selftests/bpf: re-split main function into dedicated tests
The flow_dissector runs plenty of tests over diffent kind of packets,
grouped into three categories: skb mode, non-skb mode with direct
attach, and non-skb with indirect attach.
Re-split the main function into dedicated tests. Each test now must have
its own setup/teardown, but for the advantage of being able to run them
separately. While at it, make sure that tests attaching the bpf programs
are run in a dedicated ns.
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Signed-off-by: Alexis Lothoré (eBPF Foundation) <alexis.lothore@bootlin.com>
Link: https://lore.kernel.org/r/20241120-flow_dissector-v3-4-45b46494f937@bootlin.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
