mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-30 17:45:23 +00:00
27b3b303d9
Add a test for the simple parts of my indentation changes, and fix the fallout. * tests/domainsnapshotxml2xmltest.c: New test. * tests/Makefile.am (domainsnapshotxml2xmltest_SOURCES): Build it. * src/conf/domain_conf.c (virDomainSnapshotDefFormat): Avoid NULL deref, match documented order. * src/conf/domain_conf.h (virDomainSnapshotDefFormat): Add const. * tests/domainsnapshotxml2xmlout/all_parameters.xml: Tweak output. * tests/domainsnapshotxml2xmlout/disk_snapshot.xml: Likewise. * tests/domainsnapshotxml2xmlout/full_domain.xml: Likewise. * .gitignore: Exempt new binary.
14 lines
317 B
XML
14 lines
317 B
XML
<domainsnapshot>
|
|
<name>my snap name</name>
|
|
<description>!@#$%^</description>
|
|
<state>running</state>
|
|
<parent>
|
|
<name>earlier_snap</name>
|
|
</parent>
|
|
<creationTime>1272917631</creationTime>
|
|
<domain>
|
|
<uuid>9d37b878-a7cc-9f9a-b78f-49b3abad25a8</uuid>
|
|
</domain>
|
|
<active>1</active>
|
|
</domainsnapshot>
|