mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
tests/functional: convert tests to new archive_extract helper
Replace use of utils.archive_extract and extract_from_deb with the new archive_extract helper. Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <20241217155953.3950506-24-berrange@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
239fd29d6f
commit
5831ed84e7
37 changed files with 134 additions and 205 deletions
|
@ -26,9 +26,9 @@ class MipsFuloong2e(LinuxKernelTest):
|
|||
'2a70f15b397f4ced632b0c15cb22660394190644146d804d60a4796eefbe1f50')
|
||||
|
||||
def test_linux_kernel_3_16(self):
|
||||
deb_path = self.ASSET_KERNEL.fetch()
|
||||
kernel_path = self.extract_from_deb(deb_path,
|
||||
'/boot/vmlinux-3.16.0-6-loongson-2e')
|
||||
kernel_path = self.archive_extract(
|
||||
self.ASSET_KERNEL,
|
||||
member='boot/vmlinux-3.16.0-6-loongson-2e')
|
||||
|
||||
self.set_machine('fuloong2e')
|
||||
self.vm.set_console()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue