mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-26 14:03:49 +03:00
tests: Check more network XMLs for schema compliance
This revealed bugs in RNG schema for /network/dns/srv. Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
15398e6a4c
commit
8f448d619a
@ -283,13 +283,21 @@
|
|||||||
</attribute>
|
</attribute>
|
||||||
<optional>
|
<optional>
|
||||||
<attribute name="domain"><ref name="dnsName"/></attribute>
|
<attribute name="domain"><ref name="dnsName"/></attribute>
|
||||||
|
</optional>
|
||||||
|
<optional>
|
||||||
<attribute name="target"><text/></attribute>
|
<attribute name="target"><text/></attribute>
|
||||||
|
</optional>
|
||||||
|
<optional>
|
||||||
<attribute name="port">
|
<attribute name="port">
|
||||||
<ref name="unsignedShort"/>
|
<ref name="unsignedShort"/>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
</optional>
|
||||||
|
<optional>
|
||||||
<attribute name="priority">
|
<attribute name="priority">
|
||||||
<ref name="unsignedShort"/>
|
<ref name="unsignedShort"/>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
</optional>
|
||||||
|
<optional>
|
||||||
<attribute name="weight">
|
<attribute name="weight">
|
||||||
<ref name="unsignedShort"/>
|
<ref name="unsignedShort"/>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
@ -208,7 +208,7 @@ mymain(void)
|
|||||||
"domainsnapshotxml2xmlout");
|
"domainsnapshotxml2xmlout");
|
||||||
DO_TEST("interface.rng", "interfaceschemadata");
|
DO_TEST("interface.rng", "interfaceschemadata");
|
||||||
DO_TEST("network.rng", "../src/network", "networkxml2xmlin",
|
DO_TEST("network.rng", "../src/network", "networkxml2xmlin",
|
||||||
"networkxml2xmlout");
|
"networkxml2xmlout", "networkxml2confdata");
|
||||||
DO_TEST("nodedev.rng", "nodedevschemadata");
|
DO_TEST("nodedev.rng", "nodedevschemadata");
|
||||||
DO_TEST("nwfilter.rng", "nwfilterxml2xmlout");
|
DO_TEST("nwfilter.rng", "nwfilterxml2xmlout");
|
||||||
DO_TEST("secret.rng", "secretxml2xmlin");
|
DO_TEST("secret.rng", "secretxml2xmlin");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user