Copy the LinuxKernelTest from tests/acceptance/boot_linux_console.py to be able to convert the related tests to the functional test framework in the following patches. Message-ID: <20240906180549.792832-2-thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
		
			
				
	
	
		
			16 lines
		
	
	
		
			593 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			593 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 has_cmd, has_cmds, 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
 | 
						|
from .testcase import QemuBaseTest, QemuUserTest, QemuSystemTest
 | 
						|
from .linuxkernel import LinuxKernelTest
 |