tests: Add a unit test for res_nquery and res_nsearch
authorJakub Hrozek <jhrozek@redhat.com>
Fri, 12 Sep 2014 13:49:01 +0000 (15:49 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 21 Oct 2014 11:39:39 +0000 (13:39 +0200)
commit1770e726ae07fef964ddbc2166274b26ba5c84c4
treea18c5a67ababbf20868f5b2e6a166ac1c733c7ad
parentfb891a5237232b0058ff7e8a2cf14a4ccd1cf108
tests: Add a unit test for res_nquery and res_nsearch

Adds a test that connects to a test DNS server and searches it using
res_query and res_search.

Signed-off-by: Jakub Hrozek <jakub.hrozek@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
ConfigureChecks.cmake
tests/CMakeLists.txt
tests/test_res_query_search.c [new file with mode: 0644]