]> xenbits.xensource.com Git - libvirt.git/commitdiff
Set LIBVIRT_AUTOSTART=0 when running test suites
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 7 Aug 2012 11:02:06 +0000 (12:02 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 7 Aug 2012 13:58:17 +0000 (14:58 +0100)
Occasionally 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

index 2fdaace96e094f274fb261d0e7c342703d636b1f..60d322dfe6e72daa0e25c2f0990a075fdd1579a0 100644 (file)
@@ -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)