summaryrefslogtreecommitdiffstats
path: root/tests/qmp-cmd-test.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: add qmp/object-add-without-props testMarc-André Lureau2018-08-311-0/+18
| | | | | | | | | | | test_object_add_without_props() tests a bug in qmp_object_add() we fixed in commit e64c75a975. Sadly, we don't have systematic object-add tests. This lone test can go into qmp-cmd-test for want of a better home. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
* qmp-cmd-test: Split off qmp-testMarkus Armbruster2018-08-241-0/+213
qmp-test is for QMP protocol tests. Commit e4a426e75ef added generic, basic tests of query commands to it. Move them to their own test program qmp-cmd-test, to keep qmp-test focused on the protocol. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20180823164025.12553-6-armbru@redhat.com>