]> xenbits.xensource.com Git - libvirt.git/commit
tests: qemumonitorjson: Fix schema testing of monitor commands
authorPeter Krempa <pkrempa@redhat.com>
Thu, 12 Jul 2018 11:40:00 +0000 (13:40 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 13 Jul 2018 12:18:20 +0000 (14:18 +0200)
commitb3a0e3aab14385c0c65d32e512218961cd79b6c1
treefc3d8972c04d2eff72160adf7654a4952aed10a2
parent1fc11023913ffc50f918cd213033f3a943817b17
tests: qemumonitorjson: Fix schema testing of monitor commands

The 'simpleFunc' data structure is overwritten by the code generated
from the macros which initiate the tests. This means that most of the
tests would get NULL 'schema' member which means that the schema
validation would not take place.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
tests/qemumonitorjsontest.c