Skip to content

Commit

Permalink
Merge pull request autotest#5916 from chloerh/svirt-unbound-var
Browse files Browse the repository at this point in the history
svirt/selinux/per_device: return if expected error is found
  • Loading branch information
Yingshun authored Sep 25, 2024
2 parents ca60e7a + 1ddaaeb commit 389df57
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ def run(test, params, env):
except xcepts.LibvirtXMLError as details:
if not status_error:
test.fail(details)
else:
return
test.log.debug("VM XML: %s.", VMXML.new_from_inactive_dumpxml(vm_name))
if not ('res' in locals() and res.exit_status != 0):
res = virsh.start(vm.name)
Expand Down

0 comments on commit 389df57

Please sign in to comment.