]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Make ZFS storage pool XML tests optional
authorGary R Hook <grhookatwork@gmail.com>
Fri, 16 Jan 2015 17:38:32 +0000 (17:38 +0000)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 19 Jan 2015 14:03:01 +0000 (15:03 +0100)
commite11490e358e8d00877fe3fd2006238ecb315b347
tree5b7a9640c622aabb26c6f5aaf91375a8723112a4
parentabf95b65e2e7f07a4f3b10ec86964bcf84c900ff
Make ZFS storage pool XML tests optional

Do not run ZFS tests when ZFS is unsupported in the environment.

The recent patch b4af40226d09adeaf9e33a1d6594c4e8ce7f771d adds tests
to storagepoolxml2xmltest for the optional ZFS feature. When ZFS is
not included in the configuration these tests should not / cannot be
run. Modify the test source file to check for use of the feature and
compile in the tests accordingly.

Signed-off-by: Gary R Hook <gary.hook@nimboxx.com>
tests/storagepoolxml2xmltest.c