From: Peter Krempa Date: Fri, 27 Jan 2017 16:02:19 +0000 (+0100) Subject: tests: storagepoolxml2xml: Remove compile conditionals X-Git-Tag: CVE-2017-2635~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58ea49598814e26b8459891afb123989546212ba;p=thirdparty%2Flibvirt.git tests: storagepoolxml2xml: Remove compile conditionals The XML2XML test should work properly even if the storage backend is disabled, since it does not use it. --- diff --git a/tests/storagepoolxml2xmltest.c b/tests/storagepoolxml2xmltest.c index 98a8449269..79bdc26da5 100644 --- a/tests/storagepoolxml2xmltest.c +++ b/tests/storagepoolxml2xmltest.c @@ -97,16 +97,10 @@ mymain(void) DO_TEST("pool-gluster"); DO_TEST("pool-gluster-sub"); DO_TEST("pool-scsi-type-scsi-host-stable"); -#ifdef WITH_STORAGE_ZFS DO_TEST("pool-zfs"); DO_TEST("pool-zfs-sourcedev"); -#endif -#ifdef WITH_STORAGE_RBD DO_TEST("pool-rbd"); -#endif -#ifdef WITH_STORAGE_VSTORAGE DO_TEST("pool-vstorage"); -#endif return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE; }