Skip to content

Commit

Permalink
test: Adjust TestConnection.ostree_setup_ws() for bootc
Browse files Browse the repository at this point in the history
A bootc image satisfies `m.ostree_image`, but it has cockpit-ws.rpm
installed, so skip the function in this case.
  • Loading branch information
martinpitt authored and jelly committed Jan 30, 2025
1 parent fe5d579 commit b204c42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/verify/check-connection
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class TestConnection(testlib.MachineCase):
and to make sure that overlaying cockpit-ws works as well.
"""
m = self.machine
if not m.ostree_image:
if not m.ostree_image or "bootc" in m.image:
return

# uninstall cockpit/ws container startup script
Expand Down

0 comments on commit b204c42

Please sign in to comment.