From 3e8c2f30b1a7bff9332acca858d11c1e94496066 Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Wed, 13 Mar 2019 14:47:03 +0100 Subject: [PATCH] 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 --- 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 };