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: NNiek Linnenbank <nieklinnenbank@gmail.com> Signed-off-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: NLiam Merwick <liam.merwick@oracle.com> Tested-by: NLiam Merwick <liam.merwick@oracle.com> Reviewed-by: NWainer dos Santos Moschetta <wainersm@redhat.com> Message-Id: <20200120235159.18510-3-f4bug@amsat.org> Signed-off-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
Showing
想要评论请 注册 或 登录