]> xenbits.xensource.com Git - libvirt.git/commitdiff
storagepoolxml2argvtest: run mountopts test conditionally
authorJán Tomko <jtomko@redhat.com>
Thu, 31 Jan 2019 14:43:40 +0000 (15:43 +0100)
committerJán Tomko <jtomko@redhat.com>
Thu, 31 Jan 2019 15:48:25 +0000 (16:48 +0100)
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@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
tests/storagepoolxml2argvtest.c

index 0b2c2e4f98dcff1785431ff6fbf6e22893db83d1..e7f42dc0f882e16ff1bae5f2512863a6f6f4cb76 100644 (file)
@@ -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");