Skip to content

feat: add unit tests for cpio and compression modules#2

Merged
damien-mathieu1 merged 1 commit intomainfrom
feat/cpio-compress-unit-tests
Feb 2, 2026
Merged

feat: add unit tests for cpio and compression modules#2
damien-mathieu1 merged 1 commit intomainfrom
feat/cpio-compress-unit-tests

Conversation

@axelfrache
Copy link
Copy Markdown
Collaborator

Add unit tests for cpio and compression modules

Description

Adds comprehensive unit tests for the cpio.rs and compress.rs modules to improve test coverage and ensure the initramfs generation produces valid, bootable archives.

How Has This Been Tested?

All tests pass locally:

cargo test
# test result: ok. 16 passed; 0 failed

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@axelfrache axelfrache self-assigned this Jan 30, 2026
@axelfrache axelfrache added the enhancement New feature or request label Jan 30, 2026
@damien-mathieu1
Copy link
Copy Markdown
Collaborator

LGTM

@damien-mathieu1 damien-mathieu1 merged commit 463b4d0 into main Feb 2, 2026
3 checks passed
@damien-mathieu1 damien-mathieu1 deleted the feat/cpio-compress-unit-tests branch February 9, 2026 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants