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

Commits on Jun 20, 2023

  1. tests: Don't assume /dev/loop0 exists

    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.
    cgwalters committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    d031a3d View commit details
    Browse the repository at this point in the history