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 <cr...@redhat.com> > --- > 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 <stefa...@redhat.com>
signature.asc
Description: PGP signature