summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2011-02-11 12:57:30 +0100
committerStephen Gallagher <sgallagh@redhat.com>2011-03-11 11:56:43 -0500
commit0378d4b2f764f918c4ce34e0e38f16de3d012b93 (patch)
tree153dceec6ff28ad9566be6a4d3ead09c10ff0404 /src
parente86f86660d708853715293e8eba1ac056e0e00ab (diff)
downloadsssd-0378d4b2f764f918c4ce34e0e38f16de3d012b93.tar.gz
sssd-0378d4b2f764f918c4ce34e0e38f16de3d012b93.tar.xz
sssd-0378d4b2f764f918c4ce34e0e38f16de3d012b93.zip
Make 'make check' look nice again
With current libldb releases 'make check' will print a lot of 'unable to dlopen' messages although the test will succeed. This patch place the memberof module into a directory of its own to avoid these messages. Additionally this patch introduces TESTS_ENVIRONMENT which allows us to remove the SYSDB_TEST preprocessor definition.
Diffstat (limited to 'src')
-rw-r--r--src/db/sysdb.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/db/sysdb.c b/src/db/sysdb.c
index 8806fe05f..e20356157 100644
--- a/src/db/sysdb.c
+++ b/src/db/sysdb.c
@@ -886,10 +886,6 @@ static int sysdb_check_upgrade_02(TALLOC_CTX *mem_ctx,
goto exit;
}
-#ifdef SYSDB_TEST
- ldb_set_modules_dir(ctx->ldb, ABS_BUILD_DIR"/.libs");
-#endif
-
ret = ldb_connect(ldb, ldb_file, 0, NULL);
if (ret != LDB_SUCCESS) {
ret = EIO;
@@ -1452,10 +1448,6 @@ static int sysdb_domain_init_internal(TALLOC_CTX *mem_ctx,
return EIO;
}
-#ifdef SYSDB_TEST
- ldb_set_modules_dir(ctx->ldb, ABS_BUILD_DIR"/.libs");
-#endif
-
ret = ldb_connect(ctx->ldb, ctx->ldb_file, 0, NULL);
if (ret != LDB_SUCCESS) {
return EIO;