[PATCH 3/8] tests: Don't use TEST_DRIVER_DIR in virTestCaptureProgramExecChild()

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

 



TEST_DRIVER_DIR is defined as "$(top_builddir)/src/.libs"; however,
as of commit bc6e206322ae, virDriverLoadModule() will search (the
absolute version of) that directory automatically, which means
passing it through the environment is no longer necessary.

Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 tests/testutils.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/testutils.c b/tests/testutils.c
index d2aa4e5d49..245b1832f6 100644
--- a/tests/testutils.c
+++ b/tests/testutils.c
@@ -443,7 +443,6 @@ void virTestCaptureProgramExecChild(const char *const argv[],
     int stdinfd = -1;
     const char *const env[] = {
         "LANG=C",
-        "LIBVIRT_DRIVER_DIR=" TEST_DRIVER_DIR,
         NULL
     };
 
-- 
2.20.1

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