summaryrefslogtreecommitdiff
path: root/regress/case-rootqueryall.sys
Commit message (Collapse)AuthorAge
* regress/: Replace PF_ with AF_Ian Jackson2014-10-19
| | | | | | | | | | | I don't much like PF_. None of the modern specs or docs talk about PF any more. Entirely formulaic patch: perl -i~ -pe 's/\bPF_INET\b/AF_INET/g' regress/* perl -i~ -pe 's/\bPF_INET6\b/AF_INET6/g' regress/* Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Support IPv6 in addr queries.Mark Wooding2014-10-19
| | | | | | | | | | | | | | This is the end-game. Add flags and options to allow clients and administrators to choose which address families they want returned. For logical compatibility with old clients, don't return foreign address families unless explicitly requested. Lots of tests are modified to select only IPv4 addresses. There's nothing else up my sleeve. A new test is added for the additional functionality; more are expected later. Signed-off-by: Mark Wooding <mdw@distorted.org.uk> Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* regress/: Include the protocol family in socket(2) lines.Mark Wooding2014-10-19
| | | | | | | | | I updated the test files with this rune: grep -lZ "^ socket type=" *.sys | xargs -0r sed -i \ 's/^ socket type=/ socket domain=PF_INET type=/' Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
* Bodge adns_r_addr query-id selection and fix regression tests to match.Mark Wooding2014-10-12
| | | | | | | | | | | | | | A future change is going to change how query-ids are allocated for adns_r_addr queries. So here we apply a simple bodge which will produce the same allocation pattern, but without the complexity of the rest of the change, and fix the test suite to match. I used the script regress/hack-query-ids to help me modify the case-*.sys files, though this was primarily a rather tedious manual process. Signed-off-by: Mark Wooding <mdw@distorted.org.uk> Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* src/, regress/: Prepare for early failures in PTR queries.Mark Wooding2014-10-12
| | | | | | | | | | | | | | | | | Soon we're going to change the way adns_r_ptr queries work: in particular, queries with names which can't be parsed back into addresses will be rejected during submission rather than waiting for the answer to the initial PTR question to come back. So here we apply a really simple temporary hack to adns_submit which approximately captures the behaviour we're after, and adjust the various test cases to match. We'll take this hack out when we make the proper change to the PTR handling. Hopefully this will persuade reviewers that there's nothing up my sleeves while I mess with the regression tests. Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
* regress/: Don't track the size of the socket-address buffer in recvfrom(3).Mark Wooding2014-06-13
| | | | | | | This is system specific, and (more annoyingly) will break the tests if additional address families are supported in the future. Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
* + General Improvements:ian2000-09-16
| | | | | | | | | | | | | | | | | | | | | | | @@ -3,6 +3,11 @@ Bugfixes: * Actually compile shared libraries by default ! + General Improvements: + * adnshost has --config option for overriding configuration. + * Regression tests now include `adnshost' invocations. + * Test cancellation both before and after query completion. + Portability fixes: * Fix <sys/fcntl.h> in client/adnsresfilter.c to <fcntl.h>. * #include <sys/types.h> and <unistd.h> for fcntl in */*.c. @@ -12,6 +17,7 @@ * adnstest: setvbuf(stdout,...) before we do first output. * Cast a sizeof(...) in src/event.c to unsigned long before printing. * #include <sys/select.h> if it exists. + * Regression tests work better if some syscalls are already macros. Portability cleanups: * Add list of tested platforms in INSTALL file.
* + * Race near adns_beforeselect which could cause infinite timeout fixedian2000-05-07
| | | | | | | @@ -3,6 +3,8 @@ Bugfixes: + * Race near adns_beforeselect which could cause infinite timeout fixed + (it's now less agressive, and will more often return a zero timeout.)
* Support and test iteration; test return in different order.ian1999-07-14
|
* Regression test doesn't rely on value of O_NONBLOCK.ian1999-05-12
|
* Root queries work better now.ian1999-04-17