tests: Check serial output of firmware boot of some machines
commitd2ab58ffc927c00e88f53f9b853b015a76fa1bd2
authorThomas Huth <thuth@redhat.com>
Sat, 3 Sep 2016 09:57:51 +0000 (3 11:57 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 7 Sep 2016 02:40:13 +0000 (7 12:40 +1000)
tree5451c35004471cc0ae21e6a82fa44e8359674bf9
parent29531542bc92603a198d50412e1142b9f0fb0a73
tests: Check serial output of firmware boot of some machines

Some of the machines that we have got a firmware image for write
some output to the serial console while booting up. We can use
this output to make sure that the machine is basically working,
so this adds a test that checks the output of these machines
for some well-known "magic" strings.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
tests/Makefile.include
tests/boot-serial-test.c [new file with mode: 0644]