[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 3/4] tests/vm: use console_consume for netbsd
From: |
Kamil Rytarowski |
Subject: |
Re: [PATCH v6 3/4] tests/vm: use console_consume for netbsd |
Date: |
Thu, 31 Oct 2019 11:22:02 +0100 |
User-agent: |
Mozilla/5.0 (X11; NetBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 |
Thank you for this work. I hope it will be fine now.
On 31.10.2019 09:53, Gerd Hoffmann wrote:
> Use new helper to read all pending console output,
> not just a single char. Unblocks installer boot.
>
> Signed-off-by: Gerd Hoffmann <address@hidden>
> ---
> tests/vm/netbsd | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/vm/netbsd b/tests/vm/netbsd
> index 5e04dcd9b1..d1bccccfd0 100755
> --- a/tests/vm/netbsd
> +++ b/tests/vm/netbsd
> @@ -93,7 +93,7 @@ class NetBSDVM(basevm.BaseVM):
> for char in list("5consdev com0\n"):
> time.sleep(0.2)
> self.console_send(char)
> - self.console_wait("")
> + self.console_consume()
> self.console_wait_send("> ", "boot\n")
>
> self.console_wait_send("Terminal type", "xterm\n")
>
signature.asc
Description: OpenPGP digital signature