History log of /sssd/src/tests/cmocka/test_resolv_fake.c
Revision Date Author Comments Expand
00f3fbb66e882213a78a7ad0a4f9190d0838c830 16-Aug-2016 Justin Stephenson <jstephen@redhat.com>

Make resolv_is_address() function public and create some basic tests Resolves: https://fedorahosted.org/sssd/ticket/2789 Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>

eca74a9559ce1b0f123c14906ad8394fc303f468 06-Jul-2015 Jakub Hrozek <jhrozek@redhat.com>

tests: Reduce duplication with new function test_ev_done Reviewed-by: Sumit Bose <sbose@redhat.com>

2b84054e2f9fa7301af4dbef4dcbf1cba066ecb3 27-Mar-2015 Lukas Slebodnik <lslebodn@redhat.com>

test_resolv_fake: Fix alignment warning src/tests/cmocka/test_resolv_fake.c:60:9: error: cast from 'uint8_t *' (aka 'unsigned char *') to 'HEADER *' increases required alignment from 1 to 4 [-Werror,-Wcast-align] h = (HEADER *) hb; ^~~~~~~~~~~~~ 1 error generated. Reviewed-by: Michal Židek <mzidek@redhat.com>

4e5e846de22407f825fe3b4040d79606818a2419 11-Mar-2015 Jakub Hrozek <jhrozek@redhat.com>

tests: convert all unit tests to cmocka 1.0 or later All tests now use the cmocka-1.0-compatible API. Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>

bf54fbed126ec3d459af40ea370ffadacd31c76d 11-Feb-2015 Jakub Hrozek <jhrozek@redhat.com>

RESOLV: Add an internal function to read TTL from a DNS packet Related: https://fedorahosted.org/sssd/ticket/1884 Adds an internal resolver function that reads the TTL for SRV records as specified by RFC-2181. Several internal c-ares definitions are used until c-ares contains a function that exposes all this information via a parsing function. Reviewed-by: Pavel Březina <pbrezina@redhat.com>