summaryrefslogtreecommitdiff
path: root/src/tests/sysdb-tests.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-07 22:15:14 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-15 10:53:01 +0100
commit770896b194b7b66b09c2a30545b4d091fd86b1f4 (patch)
treec2cbe2a448060e73cba6d92bbbe4c191cb20a210 /src/tests/sysdb-tests.c
parentdd7192379e5fc5bb852863e60ad4b6a20c5da183 (diff)
downloadsssd-770896b194b7b66b09c2a30545b4d091fd86b1f4.tar.gz
sssd-770896b194b7b66b09c2a30545b4d091fd86b1f4.tar.bz2
sssd-770896b194b7b66b09c2a30545b4d091fd86b1f4.zip
Add domain argument to sysdb_search_custom()
Also changes sysdb_search_custom_by_name()
Diffstat (limited to 'src/tests/sysdb-tests.c')
-rw-r--r--src/tests/sysdb-tests.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tests/sysdb-tests.c b/src/tests/sysdb-tests.c
index f08cf7ce..e4a0dd94 100644
--- a/src/tests/sysdb-tests.c
+++ b/src/tests/sysdb-tests.c
@@ -1329,6 +1329,7 @@ START_TEST (test_sysdb_search_custom_by_name)
fail_unless(object_name != NULL, "talloc_asprintf failed");
ret = sysdb_search_custom_by_name(data, data->ctx->sysdb,
+ data->ctx->domain,
object_name,
CUSTOM_TEST_CONTAINER,
data->attrlist,
@@ -1431,6 +1432,7 @@ START_TEST (test_sysdb_search_custom_update)
fail_unless(object_name != NULL, "talloc_asprintf failed");
ret = sysdb_search_custom_by_name(data, data->ctx->sysdb,
+ data->ctx->domain,
object_name,
CUSTOM_TEST_CONTAINER,
data->attrlist,
@@ -1496,7 +1498,7 @@ START_TEST (test_sysdb_search_custom)
data->attrlist[2] = NULL;
ret = sysdb_search_custom(data, data->ctx->sysdb,
- filter,
+ data->ctx->domain, filter,
CUSTOM_TEST_CONTAINER,
data->attrlist,
&data->msgs_count,