Peter Krempa 3203681e5e tests: domainsnapshotxml2xml: make 'disk-seclabel' test operational
Now that we added the seclabels to the schema we can test that they are
parsed and formatted correctly.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
2019-06-20 17:08:53 +02:00

16 lines
401 B
XML

<domainsnapshot>
<name>my snap name</name>
<description>!@#$%^</description>
<creationTime>581484660</creationTime>
<disks>
<disk name='hde' snapshot='external' type='file'>
<source file='/path/to/new2'>
<seclabel model='dac' relabel='no'/>
</source>
</disk>
</disks>
<domain>
<uuid>9d37b878-a7cc-9f9a-b78f-49b3abad25a8</uuid>
</domain>
</domainsnapshot>