]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
bhyve: add xml2args unittest
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Wed, 26 Mar 2014 16:53:49 +0000 (20:53 +0400)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Thu, 27 Mar 2014 04:33:41 +0000 (08:33 +0400)
commit1994d2dddbf36aa5e50542f9224b7836c9c16ca2
tree4b49501d5dad907feb01483d42e01b0fc81d3c52
parenta1bd8d2546c3e469f6a5ce119fad7da1cd473db5
bhyve: add xml2args unittest

At this point unittest covers 4 basic cases:

 - minimal working XML for bhyve
 - same as above, but with virtio disk
 - ACPI and APIC args test
 - MAC address test
tests/Makefile.am
tests/bhyvexml2argvdata/bhyvexml2argv-acpiapic.args [new file with mode: 0644]
tests/bhyvexml2argvdata/bhyvexml2argv-acpiapic.xml [new file with mode: 0644]
tests/bhyvexml2argvdata/bhyvexml2argv-base.args [new file with mode: 0644]
tests/bhyvexml2argvdata/bhyvexml2argv-base.xml [new file with mode: 0644]
tests/bhyvexml2argvdata/bhyvexml2argv-disk-virtio.args [new file with mode: 0644]
tests/bhyvexml2argvdata/bhyvexml2argv-disk-virtio.xml [new file with mode: 0644]
tests/bhyvexml2argvdata/bhyvexml2argv-macaddr.args [new file with mode: 0644]
tests/bhyvexml2argvdata/bhyvexml2argv-macaddr.xml [new file with mode: 0644]
tests/bhyvexml2argvmock.c [new file with mode: 0644]
tests/bhyvexml2argvtest.c [new file with mode: 0644]