[PATCH 3/3] storagepoolxml2argvtest: run mountopts test conditionally

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <jtomko@xxxxxxxxxx>
---
 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
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux