Skip to content

Add tests for bpf_prog_test_run (i.e context_create/delete) #142

@matthewige

Description

@matthewige

Describe the bug

Both the ntosext and neteventext both support context_create/context_delete functions. However, there are no unit tests in this repo that invoke them.

We should add tests for both of these ensuring that the context_create/delete functions are properly implemented and there are no bugs in them, so that other codebases consuming the extension can invoke bpf_prog_test_run_opts with confidence that the extension code is correct and valid.

OS information

n/a

Steps taken to reproduce bug

n/a

Expected behavior

n/a

Actual outcome

n/a

Additional details

No response

Metadata

Metadata

Assignees

Labels

P1Priority 1teststriagedThe issue is triaged by the maintainers.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions