summaryrefslogtreecommitdiffstats
path: root/server/tests/resolv-tests.c
Commit message (Collapse)AuthorAgeFilesLines
* Change ares usage to be c-ares 1.7.0 compatibleJakub Hrozek2009-12-091-14/+12
| | | | | | * Rename structure accordingly to ares upstream * Use new ares parsing functions in the wrappers * fix tests for ares 1.7
* Only display errors in unit testsStephen Gallagher2009-11-201-1/+2
| | | | | If you want to turn verbosity back on, just set the environment variable CK_VERBOSITY=verbose
* Check return, zero free hostent, adhere to styleSimo Sorce2009-11-091-4/+6
|
* Various improvements to the resolv test suiteMartin Nagy2009-10-221-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
* Consolidate tevent helpersJakub Hrozek2009-08-051-9/+0
|
* Add async resolver testsJakub Hrozek2009-07-241-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.