This test relies on namespace support, which is only compiled in
if we have the 'fs' and 'netfs' backends.

Signed-off-by: Ján Tomko <[email protected]>
---
 tests/storagepoolxml2argvtest.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/storagepoolxml2argvtest.c b/tests/storagepoolxml2argvtest.c
index 0b2c2e4f98..e7f42dc0f8 100644
--- a/tests/storagepoolxml2argvtest.c
+++ b/tests/storagepoolxml2argvtest.c
@@ -174,7 +174,9 @@ mymain(void)
     DO_TEST_PLATFORM("pool-netfs");
     DO_TEST_PLATFORM("pool-netfs-auto");
     DO_TEST_PLATFORM("pool-netfs-protocol-ver");
+#if WITH_STORAGE_FS
     DO_TEST_PLATFORM("pool-netfs-ns-mountopts");
+#endif
     DO_TEST_PLATFORM("pool-netfs-gluster");
     DO_TEST_PLATFORM("pool-netfs-cifs");
 
-- 
2.16.4

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to