da33a9d7742d45975bd97d33dd8ad04a843e7656Jakub Hrozek Jakub Hrozek <jhrozek@redhat.com>
da33a9d7742d45975bd97d33dd8ad04a843e7656Jakub Hrozek Copyright (C) 2013 Red Hat
da33a9d7742d45975bd97d33dd8ad04a843e7656Jakub Hrozek SSSD tests: Common utilities for tests that exercise domains
da33a9d7742d45975bd97d33dd8ad04a843e7656Jakub Hrozek This program is free software; you can redistribute it and/or modify
da33a9d7742d45975bd97d33dd8ad04a843e7656Jakub Hrozek it under the terms of the GNU General Public License as published by
da33a9d7742d45975bd97d33dd8ad04a843e7656Jakub Hrozek the Free Software Foundation; either version 3 of the License, or
da33a9d7742d45975bd97d33dd8ad04a843e7656Jakub Hrozek (at your option) any later version.
da33a9d7742d45975bd97d33dd8ad04a843e7656Jakub Hrozek This program is distributed in the hope that it will be useful,
da33a9d7742d45975bd97d33dd8ad04a843e7656Jakub Hrozek but WITHOUT ANY WARRANTY; without even the implied warranty of
da33a9d7742d45975bd97d33dd8ad04a843e7656Jakub Hrozek MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
da33a9d7742d45975bd97d33dd8ad04a843e7656Jakub Hrozek GNU General Public License for more details.
da33a9d7742d45975bd97d33dd8ad04a843e7656Jakub Hrozek You should have received a copy of the GNU General Public License
da33a9d7742d45975bd97d33dd8ad04a843e7656Jakub Hrozek along with this program. If not, see <http://www.gnu.org/licenses/>.
9cb46bc62f22e0104f1b41a423b014c281ef5fc2Jakub Hrozek test_ctx = talloc_zero(mem_ctx, struct sss_test_ctx);
a3c8390d19593b1e5277d95bfb4ab206d4785150Nikolai Kondrashov DEBUG(SSSDBG_CRIT_FAILURE, "talloc_zero failed\n");
9cb46bc62f22e0104f1b41a423b014c281ef5fc2Jakub Hrozek /* Create an event context */
a3c8390d19593b1e5277d95bfb4ab206d4785150Nikolai Kondrashov DEBUG(SSSDBG_CRIT_FAILURE, "tevent_context_init failed\n");
da33a9d7742d45975bd97d33dd8ad04a843e7656Jakub Hrozektest_request_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, errno_t err)
da33a9d7742d45975bd97d33dd8ad04a843e7656Jakub Hrozekerrno_t test_request_recv(struct tevent_req *req)