libvirt/tests/domainsnapshotxml2xmlout
Eric Blake 27b3b303d9 snapshot: test domainsnapshot indentation
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.
2011-10-20 16:02:16 -06:00
..
all_parameters.xml snapshot: test domainsnapshot indentation 2011-10-20 16:02:16 -06:00
disk_snapshot.xml snapshot: test domainsnapshot indentation 2011-10-20 16:02:16 -06:00
full_domain.xml snapshot: test domainsnapshot indentation 2011-10-20 16:02:16 -06:00
noparent_nodescription_noactive.xml Domain snapshot RNG and tests. 2010-05-20 13:50:03 -04:00
noparent_nodescription.xml Domain snapshot RNG and tests. 2010-05-20 13:50:03 -04:00
noparent.xml Domain snapshot RNG and tests. 2010-05-20 13:50:03 -04:00