tests/acceptance: Makes linux_initrd and empty_cpu_model use QEMUMachine
commitc80c6beb171c3175a14ddb99217dc7b89354a9a3
authorWainer dos Santos Moschetta <wainersm@redhat.com>
Wed, 11 Dec 2019 18:55:36 +0000 (11 13:55 -0500)
committerCleber Rosa <crosa@redhat.com>
Mon, 16 Dec 2019 15:59:50 +0000 (16 10:59 -0500)
tree189ac870437193416599ee7e2dbdfb4745ddcc07
parent74b56bb5539553d93908d6acb2bc2c5e2f019f7d
tests/acceptance: Makes linux_initrd and empty_cpu_model use QEMUMachine

On linux_initrd and empty_cpu_model tests the same effect of
calling QEMU through run() to inspect the terminated process is
achieved with a sequence of set_qmp_monitor() / launch() / wait()
commands on an QEMUMachine object. This patch changes those
tests to use QEMUMachine instead, so they follow the same pattern
to launch QEMU found on other acceptance tests.

Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Tested-by: Cleber Rosa <crosa@redhat.com>
Message-Id: <20191211185536.16962-3-wainersm@redhat.com>
Signed-off-by: Cleber Rosa <crosa@redhat.com>
tests/acceptance/empty_cpu_model.py
tests/acceptance/linux_initrd.py