Skip to content

Commit

Permalink
tests: use simplified option for booting in-vm kernel
Browse files Browse the repository at this point in the history
"None" kernel gets translated to appropriate grub variant according to
virt_mode.

QubesOS/qubes-issues#5212

(cherry picked from commit 9f3bdb4)
  • Loading branch information
marmarek committed Dec 8, 2024
1 parent 0269c78 commit ac3bdb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qubes/tests/integ/grub.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def test_010_template_based_vm(self):
'grub-xen package not installed')
class TC_40_PVGrub(GrubBase):
virt_mode = 'pv'
kernel = 'pvgrub2'
kernel = None

def setUp(self):
if 'fedora' in self.template:
Expand All @@ -176,7 +176,7 @@ class TC_41_HVMGrub(GrubBase):
'grub2-xen-pvh package not installed')
class TC_42_PVHGrub(GrubBase):
virt_mode = 'pvh'
kernel = 'pvgrub2-pvh'
kernel = None

def create_testcases_for_templates():
yield from qubes.tests.create_testcases_for_templates('TC_40_PVGrub',
Expand Down

0 comments on commit ac3bdb9

Please sign in to comment.