]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Create simple monitor in qemuMonitorTestNewFromFile
authorJiri Denemark <jdenemar@redhat.com>
Mon, 6 Jun 2016 14:55:05 +0000 (16:55 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 9 Jun 2016 07:47:56 +0000 (09:47 +0200)
commit474e627892fb2d25161941511a2c8effcf285ba7
tree16493516e288ebd934f24ccde9f78691705a695f
parent08529e1e27847a0f24aad8b86620f35c88047ee0
tests: Create simple monitor in qemuMonitorTestNewFromFile

The current version uses the first JSON reply from the file as monitor
greeting. With the new parameter the caller can now request a simple
test monitor to be created, which uses an artificial greeting and uses
all JSON strings from the file as regular replies.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
tests/qemucapabilitiestest.c
tests/qemumonitortestutils.c
tests/qemumonitortestutils.h