]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Fix the schema and add tests for cifs pool
authorJohn Ferlan <jferlan@redhat.com>
Wed, 3 Jun 2015 15:43:00 +0000 (11:43 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 15 Jun 2015 21:25:33 +0000 (17:25 -0400)
commit38c94948781c69b5e3abc855cb7e582129766e31
tree7d57d0371f094c90d44481ebd9fce7fe956a67b1
parentecb9a7a10b1559ddb41832f75d012054c1017366
storage: Fix the schema and add tests for cifs pool

Commit id '887dd362' added support for a netfs pool format type 'cifs'
and 'gluster' in order to add rng support for Samba and glusterfs netfs
pools. Originally, the CIFS type support was added as part of commit
id '61fb6979'. Eventually commit id 'b325be12' fixed the gluster rng
definition to match expectations.

As it turns out the CIFS rng needed a similar change since the directory
path is not an absDirPath, rather just a dirPath will be required.
docs/schemas/storagepool.rng
tests/storagepoolxml2xmlin/pool-netfs-cifs.xml [new file with mode: 0644]
tests/storagepoolxml2xmlout/pool-netfs-cifs.xml [new file with mode: 0644]
tests/storagepoolxml2xmltest.c