Acceptance tests: Extract _console_interaction()
commita91ba1d3ef321bd7e1d7fd0a90e3f74dad4f5826
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 20 Jan 2020 23:51:54 +0000 (21 00:51 +0100)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 7 Feb 2020 14:12:48 +0000 (7 15:12 +0100)
tree6f82416c9b002925402d243bdd00e835aeed15a3
parent746f244d9720233f42a5a5745e28a4fac9fe8395
Acceptance tests: Extract _console_interaction()

Since we are going to re-use the code shared between
wait_for_console_pattern() and exec_command_and_wait_for_pattern(),
extract the common part into a local function.

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-3-f4bug@amsat.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
tests/acceptance/avocado_qemu/__init__.py