summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2011-05-27 07:32:17 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-06-02 14:07:45 -0400
commitace07a7d75c5a7c3f5613e5349fa8c1ffd05863a (patch)
tree19edfcd88debcccad56c03e75b5c94294d183983 /src/tests
parentba33be9b40ecbe6f98a52025348dbcff43273b40 (diff)
downloadsssd-ace07a7d75c5a7c3f5613e5349fa8c1ffd05863a.tar.gz
sssd-ace07a7d75c5a7c3f5613e5349fa8c1ffd05863a.tar.bz2
sssd-ace07a7d75c5a7c3f5613e5349fa8c1ffd05863a.zip
Non-posix group processing - sysdb changes
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/sysdb-tests.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/tests/sysdb-tests.c b/src/tests/sysdb-tests.c
index 03faa289..d0f7ab42 100644
--- a/src/tests/sysdb-tests.c
+++ b/src/tests/sysdb-tests.c
@@ -268,7 +268,7 @@ static int test_add_incomplete_group(struct test_data *data)
int ret;
ret = sysdb_add_incomplete_group(data->ctx->sysdb, data->ctx->domain,
- data->groupname, data->gid, NULL);
+ data->groupname, data->gid, NULL, true);
return ret;
}
@@ -2743,7 +2743,7 @@ START_TEST(test_odd_characters)
/* Add */
ret = sysdb_add_incomplete_group(test_ctx->sysdb, test_ctx->domain,
- odd_groupname, 20000, NULL);
+ odd_groupname, 20000, NULL, true);
fail_unless(ret == EOK, "sysdb_add_incomplete_group error [%d][%s]",
ret, strerror(ret));
@@ -2913,13 +2913,15 @@ START_TEST(test_sysdb_original_dn_case_insensitive)
ret = sysdb_add_incomplete_group(test_ctx->sysdb, test_ctx->domain,
"case_sensitive_group1", 29000,
- "cn=case_sensitive_group1,cn=example,cn=com");
+ "cn=case_sensitive_group1,cn=example,cn=com",
+ true);
fail_unless(ret == EOK, "sysdb_add_incomplete_group error [%d][%s]",
ret, strerror(ret));
ret = sysdb_add_incomplete_group(test_ctx->sysdb, test_ctx->domain,
"case_sensitive_group2", 29001,
- "cn=CASE_SENSITIVE_GROUP1,cn=EXAMPLE,cn=COM");
+ "cn=CASE_SENSITIVE_GROUP1,cn=EXAMPLE,cn=COM",
+ true);
fail_unless(ret == EOK, "sysdb_add_incomplete_group error [%d][%s]",
ret, strerror(ret));