Skip to content

chore: add eBPF unit tests#1380

Merged
gruyaume merged 7 commits into
mainfrom
testbpf
Jun 2, 2026
Merged

chore: add eBPF unit tests#1380
gruyaume merged 7 commits into
mainfrom
testbpf

Conversation

@gruyaume

@gruyaume gruyaume commented Jun 1, 2026

Copy link
Copy Markdown
Member

Description

Add unit tests for our BPF program leveraging BPF_PROG_TEST_RUN, which allows to run a loaded eBPF program in the kernel with a supplied input and records the output.

Reference

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that validate the behaviour of the software
  • I validated that new and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

gruyaume added 7 commits June 1, 2026 15:36
Signed-off-by: Guillaume Belanger <guillaume.belanger27@gmail.com>
Signed-off-by: Guillaume Belanger <guillaume.belanger27@gmail.com>
Signed-off-by: Guillaume Belanger <guillaume.belanger27@gmail.com>
Signed-off-by: Guillaume Belanger <guillaume.belanger27@gmail.com>
Signed-off-by: Guillaume Belanger <guillaume.belanger27@gmail.com>
Signed-off-by: Guillaume Belanger <guillaume.belanger27@gmail.com>
@gruyaume
gruyaume marked this pull request as ready for review June 2, 2026 12:38
@gruyaume
gruyaume merged commit 6d22822 into main Jun 2, 2026
36 checks passed
@gruyaume
gruyaume deleted the testbpf branch June 2, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant