Skip to content

Tests for QubesOS/qubes-issues#7000#805

Draft
marmarek wants to merge 3 commits into
QubesOS:mainfrom
marmarek:loop-test
Draft

Tests for QubesOS/qubes-issues#7000#805
marmarek wants to merge 3 commits into
QubesOS:mainfrom
marmarek:loop-test

Conversation

@marmarek
Copy link
Copy Markdown
Member

The actual bug is not fixed yet...
QubesOS/qubes-issues#7000

Add it for default linux kernels that don't ship its own
kernelopts-common.txt file.

See d57ebc08f27b4c86e2488f56eddc29ce3ad8cff5 in linux-utils for full
explanation.
The reason is no longer true, only some loop devices are excluded.

QubesOS/qubes-issues#7000
losetup -d doesn't really remove the device node, but detaches it from
the file. That means it's a CHANGE event, not REMOVE - add a test if
this case is handled properly too.

QubesOS/qubes-issues#7000
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.12%. Comparing base (2488f2b) to head (cea1268).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #805   +/-   ##
=======================================
  Coverage   70.12%   70.12%           
=======================================
  Files          61       61           
  Lines       14001    14001           
=======================================
  Hits         9818     9818           
  Misses       4183     4183           
Flag Coverage Δ
unittests 70.12% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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