]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Validate that JSON deflattening fixed nested json pseudo-protocol strings
authorPeter Krempa <pkrempa@redhat.com>
Mon, 26 Jun 2017 17:42:06 +0000 (19:42 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 11 Jul 2017 12:24:17 +0000 (14:24 +0200)
commitffdf5323284b3846c949040397160415a718f6e0
tree06fe5409e170c52481fc6e22154d215a7eeae7fc
parent6d7cdec63df182338032a4998b3ccbf7101cf398
tests: Validate that JSON deflattening fixed nested json pseudo-protocol strings

Sheepdog and possibly others use nested objects for network server and
thus could be specified in a way that libvirt would not parse.

Validates that https://bugzilla.redhat.com/show_bug.cgi?id=1464821
is fixed properly.
tests/virjsondata/deflatten-qemu-sheepdog-in.json [new file with mode: 0644]
tests/virjsondata/deflatten-qemu-sheepdog-out.json [new file with mode: 0644]
tests/virjsontest.c
tests/virstoragetest.c