diff options
author | Eric Blake <eblake@redhat.com> | 2011-09-22 14:29:00 -0600 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2011-10-20 16:02:16 -0600 |
commit | 27b3b303d966a7dff3bf7219e253dbefd814f97d (patch) | |
tree | 00387bd8fcd0b5b83b74b1b7d60458f761cd1075 /.gitignore | |
parent | snapshot: indent domain xml when nesting (diff) | |
download | libvirt-27b3b303d966a7dff3bf7219e253dbefd814f97d.tar.gz libvirt-27b3b303d966a7dff3bf7219e253dbefd814f97d.tar.bz2 libvirt-27b3b303d966a7dff3bf7219e253dbefd814f97d.zip |
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.
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index b04db588f..0552b5245 100644 --- a/.gitignore +++ b/.gitignore @@ -69,6 +69,7 @@ /src/util/virkeymaps.h /tests/*.log /tests/cputest +/tests/domainsnapshotxml2xmltest /tests/hashtest /tests/jsontest /tests/networkxml2argvtest |