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

Andrea Bolognani abologna at redhat.com
Wed Mar 13 16:51:18 UTC 2019


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 at redhat.com>
---
 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




More information about the libvir-list mailing list