]> xenbits.xensource.com Git - libvirt.git/commit
tests: qemucapsprobemock: Prepare 'qemucapsprobe' for the new format
authorPeter Krempa <pkrempa@redhat.com>
Thu, 3 May 2018 15:29:36 +0000 (17:29 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 12 Jun 2018 08:27:50 +0000 (10:27 +0200)
commite00ecd1bed2b9247b77fd22f4197a27c5859ec35
tree1ce828030949317112937ecaee318059a5297e3c
parent9369348eb8084548d0b8e9ddb586260d23fddff4
tests: qemucapsprobemock: Prepare 'qemucapsprobe' for the new format

Change the output of qemucapsprobe to record the commands used for
querying. This allows to easily identify which reply belongs to which
command and also will allow to test whether we use stable queries.

This change includes changing dropping of the QMP greeting from the file
and reformatting of the query and output to stdout.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
tests/qemucapsprobemock.c