summaryrefslogtreecommitdiff
path: root/regress/case-noinfto.sys
Commit message (Collapse)AuthorAge
* regress: Use new combined hex syntax for adnstest typesIan Jackson2014-10-24
| | | | | | | | | | | | | | | | | | | | | | | This makes the tests clearer to read. No functional change. Change was made with for f in regress/*.sys; do perl -i~ -p ../t.pl $f; done where t.pl is this script if ($.==1) { $at=m{^(?:\./)?adnstest\b}; } if ($at && $.==2 && m/^:/) { m/^:(\S+)/ or die; $r=$'; #'; $_=$1; s{\b(\d+)\b}{ sprintf "0x%x|%d", ($1 & ~0xffff), ($1 & 0xffff) }ge; $_=":$_$r"; } Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* 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>
* 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>
* + 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.
* Test case for infinite timeouts.ian1999-10-15