From: Andrea Bolognani Date: Wed, 13 Mar 2019 13:47:03 +0000 (+0100) Subject: tests: Don't use TEST_DRIVER_DIR in virTestCaptureProgramExecChild() X-Git-Tag: v5.2.0-rc1~198 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e8c2f30b1a7bff9332acca858d11c1e94496066;p=thirdparty%2Flibvirt.git tests: Don't use TEST_DRIVER_DIR in virTestCaptureProgramExecChild() 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 Reviewed-by: Martin Kletzander --- 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 };