提交 6c87c75a 编写于 作者: J John Ferlan

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: NJohn Ferlan <jferlan@redhat.com>
Reviewed-by: NJán Tomko <jtomko@redhat.com>
上级 6bb582bf
...@@ -91,7 +91,9 @@ mymain(void) ...@@ -91,7 +91,9 @@ mymain(void)
DO_TEST("pool-netfs-protocol-ver"); DO_TEST("pool-netfs-protocol-ver");
DO_TEST("pool-netfs-gluster"); DO_TEST("pool-netfs-gluster");
DO_TEST("pool-netfs-cifs"); DO_TEST("pool-netfs-cifs");
#ifdef WITH_STORAGE_FS
DO_TEST("pool-netfs-ns-mountopts"); DO_TEST("pool-netfs-ns-mountopts");
#endif
DO_TEST("pool-scsi"); DO_TEST("pool-scsi");
DO_TEST("pool-scsi-type-scsi-host"); DO_TEST("pool-scsi-type-scsi-host");
DO_TEST("pool-scsi-type-fc-host"); DO_TEST("pool-scsi-type-fc-host");
...@@ -106,7 +108,9 @@ mymain(void) ...@@ -106,7 +108,9 @@ mymain(void)
DO_TEST("pool-zfs"); DO_TEST("pool-zfs");
DO_TEST("pool-zfs-sourcedev"); DO_TEST("pool-zfs-sourcedev");
DO_TEST("pool-rbd"); DO_TEST("pool-rbd");
#ifdef WITH_STORAGE_RBD
DO_TEST("pool-rbd-ns-configopts"); DO_TEST("pool-rbd-ns-configopts");
#endif
DO_TEST("pool-vstorage"); DO_TEST("pool-vstorage");
DO_TEST("pool-iscsi-direct-auth"); DO_TEST("pool-iscsi-direct-auth");
DO_TEST("pool-iscsi-direct"); DO_TEST("pool-iscsi-direct");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册