diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2010-02-26 09:04:11 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-03-04 12:41:30 -0500 |
commit | 9fb59763bce293c2490e0b9f8e97bb1f74ba0910 (patch) | |
tree | bebd5ddc3975da122a34a09a5781b26025b96720 /src/db | |
parent | 07a2e0b66a1c4688825e07fa88d37886fec4770c (diff) | |
download | sssd-9fb59763bce293c2490e0b9f8e97bb1f74ba0910.tar.gz sssd-9fb59763bce293c2490e0b9f8e97bb1f74ba0910.tar.bz2 sssd-9fb59763bce293c2490e0b9f8e97bb1f74ba0910.zip |
Add --with-test-dir option to configure
All 'make check' tests will chdir() into this directory before
running the suite. This provides the option of having temporary
files generated in a tmpfs or ramdisk
Diffstat (limited to 'src/db')
-rw-r--r-- | src/db/sysdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/sysdb.c b/src/db/sysdb.c index b3f81a08..41dd4f3f 100644 --- a/src/db/sysdb.c +++ b/src/db/sysdb.c @@ -974,7 +974,7 @@ static int sysdb_check_upgrade_02(TALLOC_CTX *mem_ctx, } #ifdef SYSDB_TEST - ldb_set_modules_dir(ldb, "./.libs"); + ldb_set_modules_dir(ctx->ldb, ABS_BUILD_DIR"/.libs"); #endif ret = ldb_connect(ldb, ldb_file, 0, NULL); @@ -1542,7 +1542,7 @@ static int sysdb_domain_init_internal(TALLOC_CTX *mem_ctx, } #ifdef SYSDB_TEST - ldb_set_modules_dir(ctx->ldb, "./.libs"); + ldb_set_modules_dir(ctx->ldb, ABS_BUILD_DIR"/.libs"); #endif ret = ldb_connect(ctx->ldb, ctx->ldb_file, 0, NULL); |