microsoft / microsoft/ebpf-for-windows
Add test for `test_ioctl_load_native_programs()` being called before module initialization
Open
help wanted
tests
triaged
- Dominant language
- C
- Stars
- 3.6k
- Forks
- 311
- Avg merge
- 6d 10h
- Merged PRs (30d)
- 21
Description
### Describe the bug
Currently, a negative-test for `test_ioctl_load_native_programs` being called before module initialization is missing.
An additional test case (mimicking "load_native_program_negative2") should be added to the `unit_tests` project (within `end_to_end.cpp`).
Contributor guide
Research direction
Start in the unit_tests project at end_to_end.cpp and locate the existing load_native_program_negative2 test or the test_ioctl_load_native_programs cases. Add the analogous negative test for calling test_ioctl_load_native_programs before module initialization; done means the unit test covers this pre-initialization path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100