]> xenbits.xensource.com Git - libvirt.git/commit
tests: Introduce tests for storage pool xml to argv checks
authorJohn Ferlan <jferlan@redhat.com>
Tue, 4 Dec 2018 11:16:23 +0000 (06:16 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 13 Dec 2018 12:09:42 +0000 (07:09 -0500)
commitf2f84b4d4ab289e736e367d2867cf945d17d0b20
treec8f2bb708106eed32c59c4fd5de96eaf04a6d984
parent1f6ca26d72c17d51fd713c72eeac5c1900153bc0
tests: Introduce tests for storage pool xml to argv checks

Similar to qemuxml2argv and storagevolxml2argv, let's create some
tests to ensure that the XML generates a consistent command line.

Using the same list of pools as storagepoolxml2xmltest, start with
the file system tests (fs, netfs, netfs-cifs, netfs-gluster).

Signed-off-by: John Ferlan <jferlan@redhat.com>
ACKed-by: Michal Privoznik <mprivozn@redhat.com>
tests/Makefile.am
tests/storagepoolxml2argvdata/pool-fs.argv [new file with mode: 0644]
tests/storagepoolxml2argvdata/pool-netfs-cifs.argv [new file with mode: 0644]
tests/storagepoolxml2argvdata/pool-netfs-gluster.argv [new file with mode: 0644]
tests/storagepoolxml2argvdata/pool-netfs.argv [new file with mode: 0644]
tests/storagepoolxml2argvtest.c [new file with mode: 0644]