summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-06 17:32:08 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-15 10:49:20 +0100
commit1826891a4869450994ae82adb60215ca564f9f4d (patch)
treea59bb3c354084842a558939f7d1c19e48b21a79b /src/tests
parenta0593a02a5d2c7a8b4dda330a69fb1f10cc12cdb (diff)
downloadsssd-1826891a4869450994ae82adb60215ca564f9f4d.tar.gz
sssd-1826891a4869450994ae82adb60215ca564f9f4d.tar.xz
sssd-1826891a4869450994ae82adb60215ca564f9f4d.zip
Add domain option to sysdb_get/netgr/attrs() fns
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/sysdb-tests.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/sysdb-tests.c b/src/tests/sysdb-tests.c
index c60d47664..7cf5a3e0a 100644
--- a/src/tests/sysdb-tests.c
+++ b/src/tests/sysdb-tests.c
@@ -3648,7 +3648,7 @@ START_TEST (test_sysdb_get_netgroup_attr)
netgrname = talloc_asprintf(test_ctx, "testnetgr%d", _i);
ret = sysdb_get_netgroup_attr(test_ctx, test_ctx->sysdb,
- netgrname, attrs, &res);
+ test_ctx->domain, netgrname, attrs, &res);
fail_if(ret != EOK, "Could not get netgroup attributes");
fail_if(res->count != 1,
@@ -3778,14 +3778,14 @@ START_TEST(test_odd_characters)
/* Retrieve */
ret = sysdb_getnetgr(test_ctx, test_ctx->sysdb,
- odd_netgroupname, &res);
+ test_ctx->domain, odd_netgroupname, &res);
fail_unless(ret == EOK, "sysdb_getnetgr error [%d][%s]",
ret, strerror(ret));
fail_unless(res->count == 1, "Received [%d] responses",
res->count);
talloc_zfree(res);
- ret = sysdb_get_netgroup_attr(test_ctx, test_ctx->sysdb,
+ ret = sysdb_get_netgroup_attr(test_ctx, test_ctx->sysdb, test_ctx->domain,
odd_netgroupname, netgr_attrs, &res);
fail_unless(ret == EOK, "sysdb_get_netgroup_attr error [%d][%s]",
ret, strerror(ret));