Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: Don't assume /dev/loop0 exists #328

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cgwalters
Copy link
Contributor

It doesn't by default on e.g. current Fedora and RHEL systems. I suspect most people so far have been running this on Ubuntu which uses snaps which use loopback devices, but we can't rely on that.

For test coverage here, ultimately there's not really a good block device to rely on without going through a lot of special casing.

Let's just test character devices.

It doesn't by default on e.g. current Fedora and RHEL systems.
I suspect most people so far have been running this on Ubuntu which
uses snaps which use loopback devices, but we can't rely on that.

For test coverage here, ultimately there's not really a good block
device to rely on without going through a lot of special casing.

Let's just test character devices.
@vrmiguel
Copy link
Contributor

+1 since this also does not work on Arch Linux

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.

None yet

2 participants