Skip to content

Commit

Permalink
tests/avocado/intel_iommu: Add asset hashes to avoid warnings
Browse files Browse the repository at this point in the history
The intel_iommu test is currently succeeding with annoying warnings.
Add the proper asset hashes to avoid those.

Message-ID: <20231114143531.291820-1-thuth@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
  • Loading branch information
huth committed Nov 16, 2023
1 parent ffab603 commit 9cdafe3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/avocado/intel_iommu.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,11 @@ def common_vm_setup(self, custom_kernel=None):
return

kernel_url = self.distro.pxeboot_url + 'vmlinuz'
kernel_hash = '5b6f6876e1b5bda314f93893271da0d5777b1f3c'
initrd_url = self.distro.pxeboot_url + 'initrd.img'
self.kernel_path = self.fetch_asset(kernel_url)
self.initrd_path = self.fetch_asset(initrd_url)
initrd_hash = 'dd0340a1b39bd28f88532babd4581c67649ec5b1'
self.kernel_path = self.fetch_asset(kernel_url, asset_hash=kernel_hash)
self.initrd_path = self.fetch_asset(initrd_url, asset_hash=initrd_hash)

def run_and_check(self):
if self.kernel_path:
Expand Down

0 comments on commit 9cdafe3

Please sign in to comment.