tests/boot_linux_console: refactor the console watcher into utility method
commit0d1d74e5e572034abb90c5b187ff3b2edd778960
authorCleber Rosa <crosa@redhat.com>
Tue, 12 Mar 2019 17:18:15 +0000 (12 13:18 -0400)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 3 May 2019 00:33:26 +0000 (2 21:33 -0300)
tree0193e5ea0b1b63cfb16495f1d5c633c43b4dba34
parent61f74506623186f076233dc5d5a8d92f4f8235dd
tests/boot_linux_console: refactor the console watcher into utility method

This introduces a utility method that monitors the console device and
looks for either a message that signals the test success or failure.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Caio Carrara <ccarrara@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20190312171824.5134-12-crosa@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
tests/acceptance/boot_linux_console.py