]> git.proxmox.com Git - mirror_qemu.git/commit
tests/avocado: apply a band aid to aspeed-evb login
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 11 Aug 2022 15:14:12 +0000 (16:14 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 16 Aug 2022 08:57:12 +0000 (09:57 +0100)
commit65711f9a87874a9ec61108c6009f8baec07c8b0d
tree2346d11174a1d4b0e81932b01a8aae5e74918d66
parentb1ceae2f5bc477217dd292bffa7b4abb34d78a2b
tests/avocado: apply a band aid to aspeed-evb login

This is really a limitation of the underlying console code which
doesn't allow us to detect the login: and following "#" prompts
because it reads input line wise. By adding a small delay we ensure
that the login prompt has appeared so we don't accidentally spaff the
shell commands to a confused getty in the guest.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Acked-by: John Snow <jsnow@redhat.com>
Message-Id: <20220811151413.3350684-8-alex.bennee@linaro.org>
tests/avocado/machine_aspeed.py