]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add tests for the new Qemu namespace XML.
authorChris Lalancette <clalance@redhat.com>
Tue, 20 Apr 2010 21:22:49 +0000 (17:22 -0400)
committerChris Lalancette <clalance@redhat.com>
Fri, 23 Jul 2010 21:30:45 +0000 (17:30 -0400)
commita71be01f04e7cacfe37d9d3d3c934096f863a495
treee63afda375d17d1046fb695abf51687967e570fe
parent337d201ef2ab07ecfb5f21352dcdd8cab56e37cd
Add tests for the new Qemu namespace XML.

Thanks to DV for knocking together the Relax-NG changes
quickly for me.

Changes since v1:
 - Change the domain.rng to correspond to the new schema
 - Don't allocate caps->ns in testQemuCapsInit since it is a static table

Changes since v2:
 - Change domain.rng to add restrictions on allowed environment names

Changes since v3:
 - Remove a bogus comment in the tests

Signed-off-by: Chris Lalancette <clalance@redhat.com>
docs/schemas/domain.rng
src/qemu/qemu_driver.c
src/qemu/qemu_driver.h
tests/qemuargv2xmltest.c
tests/qemuxml2argvdata/qemuxml2argv-qemu-ns-no-env.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-qemu-ns-no-env.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-qemu-ns.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-qemu-ns.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/testutilsqemu.c