]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: Don't use TEST_DRIVER_DIR in virTestCaptureProgramExecChild()
authorAndrea Bolognani <abologna@redhat.com>
Wed, 13 Mar 2019 13:47:03 +0000 (14:47 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 14 Mar 2019 09:05:21 +0000 (10:05 +0100)
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@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
tests/testutils.c

index d2aa4e5d490c612724e14ff7b510cf708a7c6fb0..245b1832f6f3c1f6bf5b757aa0fdbc27897f00af 100644 (file)
@@ -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
     };