]> git.ipfire.org Git - thirdparty/libvirt.git/commit
test: genericxml2xml: test graphics listen= compat
authorCole Robinson <crobinso@redhat.com>
Fri, 8 Apr 2016 17:16:12 +0000 (13:16 -0400)
committerCole Robinson <crobinso@redhat.com>
Thu, 14 Apr 2016 16:26:04 +0000 (12:26 -0400)
commit313272e074b03fb88c8f888445930a394b2ee5db
treec3862f191149ac36a389394d14633e48be6fc263
parentc493d216424e64723d958f31958ac386ea6a3acf
test: genericxml2xml: test graphics listen= compat

* Add a test for listen=XXX and <listen address=YYY/> collision error
* Add an explicit test for listen=XXX duplicated to <listen address=XXX/>
  We implicitly test it elsewhere but I figure it's better to be explicit,
  and this test case can be extended in the future for additional listen
  back compat if/when we support <listen type='socket'/> syntax
tests/genericxml2xmlindata/generic-graphics-listen-back-compat-mismatch.xml [new file with mode: 0644]
tests/genericxml2xmlindata/generic-graphics-listen-back-compat.xml [new file with mode: 0644]
tests/genericxml2xmloutdata/generic-graphics-listen-back-compat.xml [new file with mode: 0644]
tests/genericxml2xmltest.c