QubesOS / qubes-issues

The Qubes OS Project issue tracker
https://www.qubes-os.org/doc/issue-tracking/
533 stars 46 forks source link

Add unit tests for qubes-rpm-oxide #6623

Open DemiMarie opened 3 years ago

DemiMarie commented 3 years ago

Qubes OS version (if applicable)

All versions currently supported

Affected component(s) or functionality (if applicable)

RPM Oxide

Brief summary

RPM Oxide needs lots of unit tests.

Additional context

RPM Oxide was written in a rush to mitigate security issues with dom0’s RPM. While it passed a security review by @marmarek, I have since found at least one bug in it. The bug slipped through because the code has very few unit-tests.

Relevant documentation you've consulted

Related, non-duplicate issues

DemiMarie commented 3 years ago

Update: The code now has more unit-tests, but nowhere close to enough. The hard part is creating malformed test files to use as test cases.