summaryrefslogtreecommitdiff
path: root/src/tests/resolv-tests.c
AgeCommit message (Collapse)AuthorFilesLines
2010-04-30Sort SRV replies according to RFC 2782Jakub Hrozek1-0/+88
RFC 2782 defines a way to sort replies to a SRV query. In short, the algorithm sorts all replies by priority and then does a weight-based selection for every priority level. For details, please see the sections "Usage rules" for overview of the algorithm and section "The 'Weight' field" for description on the weight selection.
2010-03-08Do not run negative resolv test with no networkJakub Hrozek1-3/+73
One of our resolv tests tries to resolve a nonexistent hostname. Do not run this test unless we are explicitly told that a network connection is available (-n). Also do not automatically resolving localhost.
2010-03-04Add forgotten \n in DEBUG statementsMartin Nagy1-1/+1
Logs from confdb with missing '\n' in the DEBUG statements annoyed me so I decided to fix them. I also made a quick grep through the code and found other places so I fixed them too.
2010-03-04Add --with-test-dir option to configureStephen Gallagher1-0/+2
All 'make check' tests will chdir() into this directory before running the suite. This provides the option of having temporary files generated in a tmpfs or ramdisk
2010-02-22Restrict family lookupsJakub Hrozek1-5/+13
Adds a new option that tells resolver which address family to prefer or use exclusively. Fixes: #404
2010-02-18Rename server/ directory to src/Stephen Gallagher1-0/+598
Also update BUILD.txt