tests/vm: give wait_ssh() option to wait for root
commitfbb3aa29e20e20390e9aed4f4101a20d1e957b23
authorRobert Foley <robert.foley@linaro.org>
Tue, 3 Mar 2020 15:06:17 +0000 (3 15:06 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 4 Mar 2020 09:57:27 +0000 (4 09:57 +0000)
tree43fd2dbc753ddb3c365261cee56d234e894d0924
parentc9de39355a54dfc7aaebddace364f14159e5607e
tests/vm: give wait_ssh() option to wait for root

Allow wait_ssh to wait for root user to be ready.
This solves the issue where we perform a wait_ssh()
successfully, but the root user is not yet ready
to be logged in.

Signed-off-by: Robert Foley <robert.foley@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Peter Puhov <peter.puhov@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20200219163537.22098-5-robert.foley@linaro.org>
Message-Id: <20200303150622.20133-5-alex.bennee@linaro.org>
tests/vm/basevm.py