tests/acceptance: Print expected message on wait_for_console_pattern
authorWainer dos Santos Moschetta <wainersm@redhat.com>
Tue, 9 Mar 2021 15:35:07 +0000 (12:35 -0300)
committerCleber Rosa <crosa@redhat.com>
Wed, 17 Mar 2021 00:54:35 +0000 (20:54 -0400)
commit1cf54443d9c5d6e8ce28dc299f2a22c7e3458bb4
treeb896d4cbea50c32c43b0f9f438f90d1fbfdf7641
parent5b7f5586d182b0cafb1f8d558992a14763e2953e
tests/acceptance: Print expected message on wait_for_console_pattern

For the sake of improve debuggability of tests which use the
wait_for_console_pattern(), this changed the _console_interaction() so that
the expected message is printed if the test fail.

Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Message-Id: <20210309153507.1905682-1-wainersm@redhat.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Willian Rampazzo <willianr@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