mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-30 05:21:55 -06:00

There are many types of compression that the tests deal with, and it makes sense to have a single helper 'uncompress' that can deal with all. Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <20241217155953.3950506-25-berrange@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
20 lines
802 B
Python
20 lines
802 B
Python
# Test class and utilities for functional tests
|
|
#
|
|
# Copyright 2024 Red Hat, Inc.
|
|
#
|
|
# This work is licensed under the terms of the GNU GPL, version 2 or
|
|
# later. See the COPYING file in the top-level directory.
|
|
|
|
|
|
from .asset import Asset
|
|
from .config import BUILD_DIR
|
|
from .cmd import run_cmd, is_readable_executable_file, \
|
|
interrupt_interactive_console_until_pattern, wait_for_console_pattern, \
|
|
exec_command, exec_command_and_wait_for_pattern, get_qemu_img, which
|
|
from .testcase import QemuBaseTest, QemuUserTest, QemuSystemTest
|
|
from .linuxkernel import LinuxKernelTest
|
|
from .decorators import skipIfMissingCommands, skipIfNotMachine, \
|
|
skipFlakyTest, skipUntrustedTest, skipBigDataTest, \
|
|
skipIfMissingImports
|
|
from .archive import archive_extract
|
|
from .uncompress import uncompress
|