test_fo_srv.c revision 57c5ea8825c7179fd93382dbcbb07e828e5aec19
132N/A along with this program. If not, see <http://www.gnu.org/licenses/>.
132N/A#include "providers/fail_over_srv.h"
132N/A#include "tests/cmocka/common_mock.h"
132N/A#include "tests/cmocka/common_mock_resp.h"
132N/Astruct resolv_ctx {
132N/Astruct tevent_req *
132N/A const char **discovery_domains)
219N/A char **_dns_domain)
1176N/A char *dns_domain;
949N/A struct ares_srv_reply *r;
989N/A char **_dns_domain)
230N/Astruct test_fo_ctx {
989N/A struct test_fo_ctx);
1215N/A char *dns_domain)
1318N/Astruct ares_srv_reply *
950N/A struct ares_srv_reply *s;
260N/A talloc_free(s);
220N/A char *dns_domain;
336N/A /* ldap1.sssd.com has lower priority, it must always be first */
1215N/A /* ldap1.sssd.com has lower priority, it must always be first */
455N/A char *dns_domain;
1215N/A char *dns_domain;
1215N/A * This is a regression test for https://fedorahosted.org/sssd/ticket/3131
return rv;