libvirt/tests/storagevolxml2xmlout
Eric Blake 1458b2e963 storage: improve directory support in gluster pool
Take advantage of the previous patch's addition of 'netdir' as
a distinct volume type, to expose rather than silently skip
directories embedded in a gluster pool.  Also serves as an XML
validation for the previous patch.

* src/storage/storage_backend_gluster.c
(virStorageBackendGlusterRefreshVol): Don't skip directories.
* tests/storagevolxml2xmltest.c (mymain): Add test.
* tests/storagevolxml2xmlin/vol-gluster-dir.xml: New file.
* tests/storagevolxml2xmlout/vol-gluster-dir.xml: Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
2013-11-25 12:46:19 -07:00
..
vol-file-backing.xml storage: expose volume meta-type in XML 2013-11-25 10:55:19 -07:00
vol-file-naming.xml storage: expose volume meta-type in XML 2013-11-25 10:55:19 -07:00
vol-file.xml storage: expose volume meta-type in XML 2013-11-25 10:55:19 -07:00
vol-gluster-dir.xml storage: improve directory support in gluster pool 2013-11-25 12:46:19 -07:00
vol-logical-backing.xml storage: expose volume meta-type in XML 2013-11-25 10:55:19 -07:00
vol-logical.xml storage: expose volume meta-type in XML 2013-11-25 10:55:19 -07:00
vol-partition.xml storage: expose volume meta-type in XML 2013-11-25 10:55:19 -07:00
vol-qcow2-0.10-lazy.xml storage: expose volume meta-type in XML 2013-11-25 10:55:19 -07:00
vol-qcow2-1.1.xml storage: expose volume meta-type in XML 2013-11-25 10:55:19 -07:00
vol-qcow2-lazy.xml storage: expose volume meta-type in XML 2013-11-25 10:55:19 -07:00
vol-qcow2-nobacking.xml storage: expose volume meta-type in XML 2013-11-25 10:55:19 -07:00
vol-qcow2.xml storage: expose volume meta-type in XML 2013-11-25 10:55:19 -07:00
vol-sheepdog.xml storage: expose volume meta-type in XML 2013-11-25 10:55:19 -07:00