summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-06 17:24:07 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-15 10:49:20 +0100
commit2d66c2eee2e4364a52d5436b61759ef990108230 (patch)
tree0172ec34bb3775338eed05ab5f3ee5493f2f4321 /src/tests
parent58fd3aa25c5292bc67432647ab7e5059439fcc6d (diff)
downloadsssd-2d66c2eee2e4364a52d5436b61759ef990108230.tar.gz
sssd-2d66c2eee2e4364a52d5436b61759ef990108230.tar.xz
sssd-2d66c2eee2e4364a52d5436b61759ef990108230.zip
Pass domain to sysdb_get<pwu/grg><id() functions
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/sysdb-tests.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/sysdb-tests.c b/src/tests/sysdb-tests.c
index 65e03fe0e..06096ad96 100644
--- a/src/tests/sysdb-tests.c
+++ b/src/tests/sysdb-tests.c
@@ -960,6 +960,7 @@ START_TEST (test_sysdb_getgrgid)
ret = sysdb_getgrgid(test_ctx,
test_ctx->sysdb,
+ test_ctx->domain,
_i, &res);
if (ret) {
fail("sysdb_getgrgid failed for gid %d (%d: %s)",
@@ -1000,6 +1001,7 @@ START_TEST (test_sysdb_getpwuid)
ret = sysdb_getpwuid(test_ctx,
test_ctx->sysdb,
+ test_ctx->domain,
_i, &res);
if (ret) {
fail("sysdb_getpwuid failed for uid %d (%d: %s)",