| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
@@ -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.
|
|
non-822 mailboxes now work; Rejection of bad characters in domains fixed;
In adnstest, do not print errno values as adns_status values.
|