commit | 0ff2278b1515b55209e20f2254dcf5b4590693e3 | [log] [tgz] |
---|---|---|
author | Masami Hiramatsu <masami.hiramatsu@linaro.org> | Wed Feb 16 15:15:52 2022 +0900 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Sat Feb 26 07:37:01 2022 +0100 |
tree | 4a32fb8da24d5cfed56da366b8a9853d1c828a18 | |
parent | 3454a6918c93b8e1a6b504a476cc150d305f7e87 [diff] |
test/py: Handle expected reset by command Add wait_for_reboot optional argument to ConsoleBase::run_command() so that it can handle an expected reset by command execution. This is useful if a command will reset the sandbox while testing such commands, e.g. run_command("reset", wait_for_reboot = True) Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>