summaryrefslogtreecommitdiff
path: root/server/tests/resolv-tests.c
AgeCommit message (Collapse)AuthorFilesLines
2010-01-14Explicitly set async DNS timeoutStephen Gallagher1-1/+1
We will allow 5s per DNS server, no retries.
2009-12-09Change ares usage to be c-ares 1.7.0 compatibleJakub Hrozek1-14/+12
* Rename structure accordingly to ares upstream * Use new ares parsing functions in the wrappers * fix tests for ares 1.7
2009-11-20Only display errors in unit testsStephen Gallagher1-1/+2
If you want to turn verbosity back on, just set the environment variable CK_VERBOSITY=verbose
2009-11-09Check return, zero free hostent, adhere to styleSimo Sorce1-4/+6
2009-10-22Various improvements to the resolv test suiteMartin Nagy1-58/+222
* The resolv test case can now test for TXT and SRV resolving by specifying -t host and -s host respectively. The -n flag must still be passed in to enable network tests. * Added test for the little complicated resolv_copy_hostent() function. * Leak checking using the new tests common functions. * Fix indentation for test_internet, since the whole function was modified to be able to handle SRV and TXT replies. * Initialize the debug variable in main(). Also removed one unused variable in krb5_utils-tests.c
2009-08-05Consolidate tevent helpersJakub Hrozek1-9/+0
2009-07-24Add async resolver testsJakub Hrozek1-0/+442
Add some basic unit tests of the async resolver module. One of the tests resolves a name on the Internet, therefore it is off by default and is turned on with the -n switch.