]> git.proxmox.com Git - mirror_qemu.git/commit
tests/boot_linux_console: add extract_from_rpm method
authorLiam Merwick <liam.merwick@oracle.com>
Wed, 5 Feb 2020 14:56:03 +0000 (14:56 +0000)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 7 Feb 2020 14:12:48 +0000 (15:12 +0100)
commit76a901d295fcb1984ba0ddc9cc334d922e35f7c7
treea2d1fdfd52cccb4b0b0b8134c279c3eb095bb866
parent8a837088928401f2daf7b41a5230361f183c1794
tests/boot_linux_console: add extract_from_rpm method

Add a method to extract a specified file from an RPM to the test's
working directory and return the path to the extracted file.

Signed-off-by: Liam Merwick <liam.merwick@oracle.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <1580914565-19675-5-git-send-email-liam.merwick@oracle.com>
[PMD: Rebased]
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
tests/acceptance/boot_linux_console.py