[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 5/5] Acceptance tests: add Linux kernel boot
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v4 5/5] Acceptance tests: add Linux kernel boot and console checking test |
Date: |
Thu, 31 May 2018 11:56:13 +0100 |
User-agent: |
Mutt/1.9.5 (2018-04-13) |
On Wed, May 30, 2018 at 02:41:56PM -0400, Cleber Rosa wrote:
> This test boots a Linux kernel, and checks that the given command
> line was effective in two ways:
>
> * It makes the kernel use the set "console device" as a console
> * The kernel records the command line as expected in the console
>
> Given that way too many error conditions may occur, and detecting the
> kernel boot progress status may not be trivial, this test relies on a
> timeout to handle unexpected situations. Also, it's *not* tagged as a
> quick test for obvious reasons.
>
> It may be useful, while interactively running/debugging this test, or
> tests similar to this one, to show some of the logging channels.
> Example:
>
> $ avocado --show=QMP,console run boot_linux_console.py
>
> Signed-off-by: Cleber Rosa <address@hidden>
> ---
> tests/acceptance/boot_linux_console.py | 47 ++++++++++++++++++++++++++
> 1 file changed, 47 insertions(+)
> create mode 100644 tests/acceptance/boot_linux_console.py
Reviewed-by: Stefan Hajnoczi <address@hidden>
signature.asc
Description: PGP signature
- [Qemu-devel] [PATCH v4 0/5] Acceptance/functional tests, Cleber Rosa, 2018/05/30
- [Qemu-devel] [PATCH v4 2/5] scripts/qemu.py: allow adding to the list of extra arguments, Cleber Rosa, 2018/05/30
- [Qemu-devel] [PATCH v4 3/5] Acceptance tests: add quick VNC tests, Cleber Rosa, 2018/05/30
- [Qemu-devel] [PATCH v4 4/5] scripts/qemu.py: introduce set_console() method, Cleber Rosa, 2018/05/30
- [Qemu-devel] [PATCH v4 5/5] Acceptance tests: add Linux kernel boot and console checking test, Cleber Rosa, 2018/05/30
- [Qemu-devel] [PATCH v4 1/5] Add functional/acceptance tests infrastructure, Cleber Rosa, 2018/05/30