[libvirt] [PATCH] Set LIBVIRT_AUTOSTART=0 when running test suites

Daniel P. Berrange berrange at redhat.com
Tue Aug 7 11:03:11 UTC 2012


From: "Daniel P. Berrange" <berrange at redhat.com>

Occassionally some test cases will (accidentally) try to spawn
libvirtd. Set the LIBVIRT_AUTOSTART=0 environment variable to
ensure the remote driver never tries autostart.
---
 tests/Makefile.am |    1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 2fdaace..60d322d 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -244,6 +244,7 @@ TESTS_ENVIRONMENT =				\
   PATH="$(path_add)$(PATH_SEPARATOR)$$PATH"	\
   SHELL="$(SHELL)"				\
   LIBVIRT_DRIVER_DIR="$(abs_top_builddir)/src/.libs" \
+  LIBVIRT_AUTOSTART=0				\
   LC_ALL=C					\
   $(VG)
 
-- 
1.7.10.4




More information about the libvir-list mailing list