Fix binlogrouter unit test failure

The test used LD_LIBRARY_PATH to find the module instead of using an
explicit path.
This commit is contained in:
Markus Mäkelä 2018-01-02 09:39:48 +02:00
parent 9558addbfe
commit f810ce9ea3

View File

@ -95,11 +95,7 @@ int main(int argc, char **argv)
mxs_log_set_priority_enabled(LOG_DEBUG, false);
mxs_log_set_priority_enabled(LOG_INFO, false);
char *lib_dir = getenv("LD_LIBRARY_PATH");
if (lib_dir)
{
set_libdir(MXS_STRDUP_A(lib_dir));
}
char *lib_dir = MXS_STRDUP_A("..");
if ((service = service_alloc("test_service", "binlogrouter")) == NULL)
{