Lines Matching defs:test_ctx
48 struct test_ctx {
54 struct test_ctx *test_ctx;
58 test_ctx = talloc_zero(global_talloc_context, struct test_ctx);
59 assert_non_null(test_ctx);
61 test_ctx->tctx = create_dom_test_ctx(test_ctx, TESTS_PATH, TEST_CONF_DB,
64 assert_non_null(test_ctx->tctx);
66 check_leaks_push(test_ctx);
67 *state = test_ctx;
74 struct test_ctx *test_ctx = talloc_get_type(*state, struct test_ctx);
76 assert_true(check_leaks_pop(test_ctx));
77 talloc_free(test_ctx);
181 struct test_ctx *test_ctx = talloc_get_type(*state, struct test_ctx);
187 ret = sss_krb5_get_options(test_ctx, test_ctx->tctx->confdb,
192 krb5_ctx = talloc_zero(test_ctx, struct krb5_ctx);
195 ret = sss_krb5_check_options(opts, test_ctx->tctx->dom, krb5_ctx);
202 ret = sss_krb5_check_options(opts, test_ctx->tctx->dom, krb5_ctx);
208 ret = sss_krb5_check_options(opts, test_ctx->tctx->dom, krb5_ctx);
213 ret = sss_krb5_check_options(opts, test_ctx->tctx->dom, krb5_ctx);
218 ret = sss_krb5_check_options(opts, test_ctx->tctx->dom, krb5_ctx);
224 ret = sss_krb5_check_options(opts, test_ctx->tctx->dom, krb5_ctx);
233 ret = sss_krb5_check_options(opts, test_ctx->tctx->dom, krb5_ctx);
241 ret = sss_krb5_check_options(opts, test_ctx->tctx->dom, krb5_ctx);