OSDN Git Service

Acceptance tests: Add interrupt_interactive_console_until_pattern()
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 20 Jan 2020 23:51:55 +0000 (00:51 +0100)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 7 Feb 2020 14:12:48 +0000 (15:12 +0100)
commit647eb26a6c356e8fc1b5e36d0db047c25c1eafd0
treea26d37cba4934f6fd870d33e761447d6665659dc
parenta91ba1d3ef321bd7e1d7fd0a90e3f74dad4f5826
Acceptance tests: Add interrupt_interactive_console_until_pattern()

We need a function to interrupt interactive consoles.

Example: Interrupt U-Boot to set different environment values.

Tested-by: Niek Linnenbank <nieklinnenbank@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Liam Merwick <liam.merwick@oracle.com>
Tested-by: Liam Merwick <liam.merwick@oracle.com>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Message-Id: <20200120235159.18510-4-f4bug@amsat.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
tests/acceptance/avocado_qemu/__init__.py