Commit 00963aca authored by Gerd Hoffmann's avatar Gerd Hoffmann Committed by Alex Bennée
Browse files

tests/vm: use console_consume for netbsd



Use new helper to read all pending console output,
not just a single char.  Unblocks installer boot.

Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
Message-Id: <20191031085306.28888-4-kraxel@redhat.com>
Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
parent 6c4f0416
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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")