device-introspect-test: New, covering device introspection
authorMarkus Armbruster <armbru@redhat.com>
Thu, 1 Oct 2015 08:59:56 +0000 (10:59 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 28 Oct 2015 19:50:11 +0000 (14:50 -0500)
commit08231cbb7660876903019ef1b59ef332deea2a83
treebfb6d94a55b6ea1227f1ad16e85816dae3f35cd8
parent70a4483abbbe3ec938b6c39a3cd0b486b96da93e
device-introspect-test: New, covering device introspection

The test doesn't check that the output makes any sense, only that QEMU
survives.  Useful since we've had an astounding number of crash bugs
around there.

In fact, we have a bunch of them right now: a few devices crash or
hang, and some leave dangling pointers behind.  The test skips testing
the broken parts.  The next commits will fix them up, and drop the
skipping.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <1443689999-12182-8-git-send-email-armbru@redhat.com>
(cherry picked from commit 2d1abb850fd15fd6eb75a92290be5f93b2772ec5)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
tests/Makefile
tests/device-introspect-test.c [new file with mode: 0644]