diff options
author | John Ferlan <jferlan@redhat.com> | 2019-01-30 10:26:48 -0500 |
---|---|---|
committer | John Ferlan <jferlan@redhat.com> | 2019-01-31 08:31:17 -0500 |
commit | 6c87c75a0cae1cb56dc3cbb7959c8c791f929853 (patch) | |
tree | 2cf71411f018736ee4dbccd05a1bdac8c05b3c6b /tests/storagepoolxml2xmltest.c | |
parent | 6bb582bff87a8a23ccacf0f57776bf6ba51165da (diff) | |
download | libvirt-6c87c75a0cae1cb56dc3cbb7959c8c791f929853.tar.gz |
tests: Fix storagepoolxml2xmltest execution for XML namespaces
Only run the pool-netfs-ns-mountopts if built WITH_STORAGE_FS and only
run pool-rbd-ns-configopts if built with WITH_STORAGE_RBD since the
namespace support is only enabled if the pool is enabled.
Signed-off-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Diffstat (limited to 'tests/storagepoolxml2xmltest.c')
-rw-r--r-- | tests/storagepoolxml2xmltest.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/storagepoolxml2xmltest.c b/tests/storagepoolxml2xmltest.c index 90d00a8d9e..acb15f3a2c 100644 --- a/tests/storagepoolxml2xmltest.c +++ b/tests/storagepoolxml2xmltest.c @@ -91,7 +91,9 @@ mymain(void) DO_TEST("pool-netfs-protocol-ver"); DO_TEST("pool-netfs-gluster"); DO_TEST("pool-netfs-cifs"); +#ifdef WITH_STORAGE_FS DO_TEST("pool-netfs-ns-mountopts"); +#endif DO_TEST("pool-scsi"); DO_TEST("pool-scsi-type-scsi-host"); DO_TEST("pool-scsi-type-fc-host"); @@ -106,7 +108,9 @@ mymain(void) DO_TEST("pool-zfs"); DO_TEST("pool-zfs-sourcedev"); DO_TEST("pool-rbd"); +#ifdef WITH_STORAGE_RBD DO_TEST("pool-rbd-ns-configopts"); +#endif DO_TEST("pool-vstorage"); DO_TEST("pool-iscsi-direct-auth"); DO_TEST("pool-iscsi-direct"); |