[PATCH] domaincapstest: Call virFileWrapperClearPrefixes only on non-WIN32

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

 



The virFileWrapperClearPrefixes() function is defined only when
building for non-WIN32.

Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
---

Technically a build breaker fix, but I can't decide if ifdef is better
or removing the call is better.

 tests/domaincapstest.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/domaincapstest.c b/tests/domaincapstest.c
index 3ee95a4b58..92676bdd6e 100644
--- a/tests/domaincapstest.c
+++ b/tests/domaincapstest.c
@@ -476,7 +476,9 @@ mymain(void)
     DO_TEST_BHYVE("fbuf", "/usr/sbin/bhyve", &bhyve_caps, VIR_DOMAIN_VIRT_BHYVE);
 #endif /* WITH_BHYVE */
 
+#ifndef WIN32
     virFileWrapperClearPrefixes();
+#endif /* WIN32 */
 
     return ret;
 }
-- 
2.21.0

--
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