mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-18 10:35:20 +00: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>
|
||||
<optional>
|
||||
<attribute name="domain"><ref name="dnsName"/></attribute>
|
||||
</optional>
|
||||
<optional>
|
||||
<attribute name="target"><text/></attribute>
|
||||
</optional>
|
||||
<optional>
|
||||
<attribute name="port">
|
||||
<ref name="unsignedShort"/>
|
||||
</attribute>
|
||||
</optional>
|
||||
<optional>
|
||||
<attribute name="priority">
|
||||
<ref name="unsignedShort"/>
|
||||
</attribute>
|
||||
</optional>
|
||||
<optional>
|
||||
<attribute name="weight">
|
||||
<ref name="unsignedShort"/>
|
||||
</attribute>
|
||||
|
@ -208,7 +208,7 @@ mymain(void)
|
||||
"domainsnapshotxml2xmlout");
|
||||
DO_TEST("interface.rng", "interfaceschemadata");
|
||||
DO_TEST("network.rng", "../src/network", "networkxml2xmlin",
|
||||
"networkxml2xmlout");
|
||||
"networkxml2xmlout", "networkxml2confdata");
|
||||
DO_TEST("nodedev.rng", "nodedevschemadata");
|
||||
DO_TEST("nwfilter.rng", "nwfilterxml2xmlout");
|
||||
DO_TEST("secret.rng", "secretxml2xmlin");
|
||||
|
Loading…
x
Reference in New Issue
Block a user