]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Add storagepool xml test for netfs-auto
authorJohn Ferlan <jferlan@redhat.com>
Tue, 4 Dec 2018 15:20:59 +0000 (10:20 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 13 Dec 2018 12:09:42 +0000 (07:09 -0500)
commit515aa0c1847180f8da4287270f872c161993a047
tree2d7aa8c2d9433b661465149e6e8a18cd25097436
parentf2f84b4d4ab289e736e367d2867cf945d17d0b20
tests: Add storagepool xml test for netfs-auto

Cover the case where @netauto would be used to create the command
line in virStorageBackendFileSystemMountCmd. Essentially when the
pool type is "netfs", but the "source.format" is empty, create the
command line properly.

Signed-off-by: John Ferlan <jferlan@redhat.com>
ACKed-by: Michal Privoznik <mprivozn@redhat.com>
tests/storagepoolxml2argvdata/pool-netfs-auto.argv [new file with mode: 0644]
tests/storagepoolxml2argvtest.c
tests/storagepoolxml2xmlin/pool-netfs-auto.xml [new file with mode: 0644]
tests/storagepoolxml2xmlout/pool-netfs-auto.xml [new file with mode: 0644]
tests/storagepoolxml2xmltest.c