tests/acceptance: Refactor exec_command_and_wait_for_pattern()
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 28 Oct 2019 23:04:04 +0000 (19:04 -0400)
committerCleber Rosa <crosa@redhat.com>
Mon, 28 Oct 2019 23:04:04 +0000 (19:04 -0400)
commit2b17d81ffb6d4dd00fa75b78280171eb5b73aa22
treed8cb56140a84c0f5dffe23bf73277a51288c9c83
parent6b5720d5b7609d4c0feb8edd930242bb9968c13e
tests/acceptance: Refactor exec_command_and_wait_for_pattern()

Refactor the exec_command_and_wait_for_pattern() utility method
so we can reuse it in other files.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20191028073441.6448-6-philmd@redhat.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Tested-by: Cleber Rosa <crosa@redhat.com>
Signed-off-by: Cleber Rosa <crosa@redhat.com>
tests/acceptance/avocado_qemu/__init__.py
tests/acceptance/boot_linux_console.py