Searched defs:test_data (Results 1 - 7 of 7) sorted by relevance
/sssd-io/src/tests/cmocka/ |
H A D | test_sssd_krb5_localauth_plugin.c | 47 struct _nss_sss_getpwnam_r_test_data *test_data; local 55 test_data = sss_mock_ptr_type(struct _nss_sss_getpwnam_r_test_data *); 57 result->pw_uid = test_data->uid; 58 if (test_data->name != NULL) { 59 assert_true(buflen > strlen(test_data->name)); 60 strncpy(buffer, test_data->name, buflen); 64 return test_data->status; 97 struct test_data { struct 101 } test_data[] = { local 131 for (c = 0; test_data[ 153 struct test_data { struct 156 } test_data[] = { local [all...] |
H A D | test_string_utils.c | 165 struct test_data { struct 168 } test_data[] = { local 188 for (c = 0; test_data[c].guid_str != NULL; c++) { 189 ret = guid_blob_to_string_buf(test_data[c].blob, str_buf, 192 assert_string_equal(test_data[c].guid_str, str_buf);
|
H A D | sss_nss_idmap-tests.c | 94 struct test_data { struct
|
H A D | test_cert_utils.c | 291 struct test_data { struct 294 } test_data[] = { local 305 for (c = 0; test_data[c].str != NULL; c++) { 306 ret = bin_to_ldap_filter_value(ts, test_data[c].blob, 5, &str); 308 assert_string_equal(str, test_data[c].str);
|
H A D | test_ipa_idmap.c | 49 struct test_data { struct
|
/sssd-io/src/tests/ |
H A D | sysdb_ssh-tests.c | 158 struct test_data { struct 169 static int test_sysdb_store_ssh_host(struct test_data *data) 183 static int test_sysdb_delete_ssh_host(struct test_data *data) 191 static int test_sysdb_get_ssh_host(struct test_data *data) 205 struct test_data *data; 214 data = talloc_zero(test_ctx, struct test_data); 247 struct test_data *data; 256 data = talloc_zero(test_ctx, struct test_data); 281 struct test_data *data; 290 data = talloc_zero(test_ctx, struct test_data); [all...] |
H A D | sysdb-tests.c | 185 struct test_data { struct 211 static struct test_data *test_data_new(struct sysdb_test_ctx *test_ctx) 213 struct test_data *data; 215 data = talloc_zero(test_ctx, struct test_data); 257 static struct test_data *test_data_new_user(struct sysdb_test_ctx *test_ctx, 260 struct test_data *data; 279 static struct test_data *test_data_new_group(struct sysdb_test_ctx *test_ctx, 282 struct test_data *data; 300 static int test_add_user(struct test_data *data) 322 static int test_store_user(struct test_data *dat [all...] |
Completed in 33 milliseconds