Skip to content
Snippets Groups Projects
Commit 8f5f5d3a authored by Alper Nebi Yasak's avatar Alper Nebi Yasak Committed by Tom Rini
Browse files

test/py: Use loop mounts if guestmount fails in filesystem tests


If guestmount isn't available on the system, filesystem test setup falls
back to using loop mounts to prepare its disk images. If guestmount is
available but fails to work, the tests are immediately skipped. Instead
of giving up on a guestmount failure, try using loop mounts as an
attempt to keep tests running.

Also stop checking if guestmount is in PATH, as trying to run a missing
guestmount can now follow the same failure codepath and fall back to
loop mounts anyway.

Signed-off-by: default avatarAlper Nebi Yasak <alpernebiyasak@gmail.com>
parent f1eb346e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment