summaryrefslogtreecommitdiffstats
path: root/src/tests/cmocka/test_nested_groups.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2015-05-29 16:04:44 +0200
committerJakub Hrozek <jhrozek@redhat.com>2015-06-14 21:47:20 +0200
commit78fb1789e8a5c2c7c51ad9002bbbdf0a1e390bdf (patch)
tree53aa9974ee151cc65472890f35f575b3004338fd /src/tests/cmocka/test_nested_groups.c
parent28600ab8d160faa24aae379628dd8a58f50d13c6 (diff)
downloadsssd-78fb1789e8a5c2c7c51ad9002bbbdf0a1e390bdf.tar.gz
sssd-78fb1789e8a5c2c7c51ad9002bbbdf0a1e390bdf.tar.xz
sssd-78fb1789e8a5c2c7c51ad9002bbbdf0a1e390bdf.zip
TESTS: Move krb5_try_kdcip to nested group test
Avoids duplicate errors during linking. Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'src/tests/cmocka/test_nested_groups.c')
-rw-r--r--src/tests/cmocka/test_nested_groups.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tests/cmocka/test_nested_groups.c b/src/tests/cmocka/test_nested_groups.c
index 390b39950..eef9df2dc 100644
--- a/src/tests/cmocka/test_nested_groups.c
+++ b/src/tests/cmocka/test_nested_groups.c
@@ -67,6 +67,14 @@ struct nested_groups_test_ctx {
unsigned long num_groups;
};
+errno_t krb5_try_kdcip(struct confdb_ctx *cdb,
+ const char *conf_path,
+ struct dp_option *opts,
+ int opt_id)
+{
+ return EOK;
+}
+
/* Both arrays must have the same length! */
static void compare_sysdb_string_array_noorder(struct sysdb_attrs **sysdb_array,
const char **string_array,