]> xenbits.xensource.com Git - libvirt.git/commit
Fix test breakage from virtio serial changes
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 8 Jun 2010 15:31:50 +0000 (16:31 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 8 Jun 2010 15:31:50 +0000 (16:31 +0100)
commit9cb08020e1ee1e8dec48273b7fd886e3f3633c6e
tree7e0460080b8bf0ead5ac6f1c943bb4d57ca0c7e0
parentf4365c73a28a7618724c1270d9509c81fd645bc0
Fix test breakage from virtio serial changes

The virtio serial changes broke the test suite because they forgot
to add the new address attribute to the domain XML schema. The
xml2xml test also broke because the XML no longer roundtrips. This
is due to testing of auto-addition of <controller> elements. Split
that test case off into a separate XML file to avoid breakage

* docs/schemas/domain.rng: Allow port number for virtio serial addresses
* tests/qemuxml2argvdata/qemuxml2argv-channel-virtio.args,
  tests/qemuxml2argvdata/qemuxml2argv-channel-virtio.xml: Revert to
  a simple config to avoid breaking xml2xml test
* tests/qemuxml2argvdata/qemuxml2argv-channel-virtio-auto.xml,
  tests/qemuxml2argvdata/qemuxml2argv-channel-virtio-auto.args: Add
  complex test case for auto-controller addition for xml2argv test
* tests/qemuxml2argvtest.c: Add channel-virtio-auto test
docs/schemas/domain.rng
tests/qemuxml2argvdata/qemuxml2argv-channel-virtio-auto.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-channel-virtio-auto.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-channel-virtio.args
tests/qemuxml2argvdata/qemuxml2argv-channel-virtio.xml
tests/qemuxml2argvtest.c