tests: skip pvgrub tests on Fedora

Fedora compresses the kernel with zstd now, which isn't suppported in
grub (as of 2.04). Since we don't care about PV that much anymore,
simply skip the test there.
This commit is contained in:
Marek Marczykowski-Górecki 2020-12-31 06:12:02 +01:00
父節點 e160fc61b3
當前提交 2bc3393fce
沒有發現已知的金鑰在資料庫的簽署中
GPG Key ID: 063938BA42CFA724

查看文件

@ -157,6 +157,15 @@ class TC_40_PVGrub(GrubBase):
virt_mode = 'pv'
kernel = 'pvgrub2'
def setUp(self):
if 'fedora' in self.template:
# requires a zstd decompression filter in grub
# (see grub_file_filter_id enum in grub sources)
self.skipTest('Fedora kernel is compressed with zstd '
'which is not supported by pvgrub2')
super().setUp()
class TC_41_HVMGrub(GrubBase):
virt_mode = 'hvm'
kernel = None