Skip to content

Skip tests requiring root privileges when running as non-root user#704

Open
ANogin wants to merge 1 commit into
masterfrom
feature/ofrak_core_non_root_testing
Open

Skip tests requiring root privileges when running as non-root user#704
ANogin wants to merge 1 commit into
masterfrom
feature/ofrak_core_non_root_testing

Conversation

@ANogin
Copy link
Copy Markdown
Contributor

@ANogin ANogin commented Feb 8, 2026

  • I have reviewed the OFRAK contributor guide and attest that this pull request is in accordance with it.
  • I have made or updated a changelog entry for the changes in this pull request.

One sentence summary of this PR (This should go in the CHANGELOG!)

Skip tests requiring root privileges when running as non-root user

Link to Related Issue(s)

N/A

Please describe the changes in your request.

Skip tests requiring root privileges when running as non-root user; specifically:

  • Skip TestComplexTarWithSpecialFiles (device nodes require root)
  • Handle testtar.tar unpack failure in CLI test fixture

With this change, make test in ofrak_core passes cleanly when invoked by a non-root user

Anyone you think should look at this, specifically?

@whyitfor

- Skip TestComplexTarWithSpecialFiles (device nodes require root)
- Handle testtar.tar unpack failure in CLI test fixture

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ANogin ANogin requested a review from whyitfor February 8, 2026 03:15
@ANogin ANogin self-assigned this Feb 8, 2026
ANogin pushed a commit that referenced this pull request Feb 9, 2026
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