]> xenbits.xensource.com Git - libvirt.git/commit
tests: qemumonitorjsontest: Do some actual testing in qemuMonitorJSONTestAttachChardev
authorPeter Krempa <pkrempa@redhat.com>
Tue, 27 Sep 2016 07:52:50 +0000 (09:52 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 6 Oct 2016 07:13:39 +0000 (09:13 +0200)
commit3da5008125f04cd0f8d5d820541a1ada79641702
tree2180f8be91299c838e743ef3503f3f6421aaf5ec
parent4c75ba7f3752f6e96324e92b3c354a6a7d303b7a
tests: qemumonitorjsontest: Do some actual testing in qemuMonitorJSONTestAttachChardev

Until now the test was rather useless since it didn't check the
arguments formatted and didn't use properly configured chardev objects.

Add the expected arguments and instrument the test to validate them.
Modify some test cases to actually add valid data.

Note that the UDP test data is currently wrong due to a bug.
tests/qemumonitorjsontest.c