libqtest: New hmp() & friends
authorMarkus Armbruster <armbru@redhat.com>
Thu, 1 Oct 2015 08:59:55 +0000 (10:59 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 9 Oct 2015 13:25:57 +0000 (15:25 +0200)
commit5fb48d9673b76fc53507a0e717a12968e57d846e
treef6db5219a6874465f6a9556544b33fd7442ba30f
parent82b15c7bdbda6207d1fee2ec824432e64af3ecb4
libqtest: New hmp() & friends

New convenience function hmp() to facilitate use of
human-monitor-command in tests.  Use it to simplify its existing uses.

To blend into existing libqtest code, also add qtest_hmpv() and
qtest_hmp().  That, and the egregiously verbose GTK-Doc comment format
make this patch look bigger than it is.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1443689999-12182-7-git-send-email-armbru@redhat.com>
tests/drive_del-test.c
tests/ide-test.c
tests/libqtest.c
tests/libqtest.h