Witold Kręcicki
64b96f029c
task_sendto, weaker timermgr lock
2018-11-19 15:12:48 +00:00
Witold Kręcicki
2ca2715872
Revert "Use larger quantum for network tasks"
...
This reverts commit 9a903789ed .
2018-11-19 14:15:13 +00:00
Ondřej Surý
175f06949f
Use strlcpy in place where strncpy(s, ...) + s[sizeof(s)-1] = \0; was used
2018-11-19 07:58:48 +01:00
Evan Hunt
8f15219f36
remove (or hide behind a 'verbose' flag) extra output from system tests
2018-11-16 20:46:14 +00:00
Evan Hunt and Witold Kręcicki
1f0cd6606e
style: one-line statement braces, line length, etc
2018-11-15 08:21:40 +00:00
Witold Kręcicki
559ce1e330
use REUSEPORT only for NOLISTEN dispatchers
2018-11-15 08:21:17 +00:00
Witold Kręcicki
bd024eee57
Add runtime detection of SO_REUSEPORT, use it instead of dup() if available.
2018-11-15 08:21:17 +00:00
Evan Hunt
8c4d50c6bc
remove ATF source code and Atffiles
2018-11-14 20:17:04 -08:00
Joey and Evan Hunt
336d5a5374
convert update_test; remove ATF from lib/dns/tests
2018-11-14 20:17:04 -08:00
Joey and Evan Hunt
92a3762cb6
convert tsig_test
2018-11-14 20:17:04 -08:00
Joey and Evan Hunt
2c7e6947fa
convert time_test
2018-11-14 20:17:04 -08:00
Joey and Evan Hunt
eda6281f98
convert sigs_test
2018-11-14 20:17:04 -08:00
Joey and Evan Hunt
b915cdbf0b
convert rsa_test
2018-11-14 20:17:04 -08:00
Joey and Evan Hunt
2837a821e8
convert resolver_test
2018-11-14 20:17:04 -08:00
Joey and Evan Hunt
dfd90dbb82
convert rbt_serialize_test
2018-11-14 20:17:04 -08:00
Joey and Evan Hunt
1b48e710d5
convert name_test
2018-11-14 20:17:04 -08:00
Joey and Evan Hunt
4ba08bb119
convert master_test
2018-11-14 20:17:04 -08:00
Joey and Evan Hunt
e38901154d
convert keytable_test
2018-11-14 20:17:04 -08:00
Joey and Evan Hunt
9a464ef869
convert private_test
2018-11-14 20:17:04 -08:00
Evan Hunt
98d5abb73c
convert dbversion_test
2018-11-14 20:17:04 -08:00
Joey and Evan Hunt
ad923f82b1
convert dst_test
2018-11-14 20:17:04 -08:00
Joey and Evan Hunt
005e19ad3f
convert db_test
2018-11-14 20:17:04 -08:00
Evan Hunt
8d347788b0
convert dispatch_test
2018-11-14 20:17:04 -08:00
Evan Hunt
01a193ff6c
convert zonemgr_test
2018-11-14 20:17:04 -08:00
Evan Hunt
0a4f6122de
convert zt_test
2018-11-14 20:17:04 -08:00
Evan Hunt
bb5ed5a4ac
convert rdata_test
...
- also added code to dnstest.c to optionally suppress printing of errors
from dns_rdata_fromtxt()
2018-11-14 20:17:04 -08:00
Evan Hunt
55465517c7
convert rbt_test
2018-11-14 20:17:04 -08:00
Evan Hunt
9f83d31e42
convert dnstap_test
2018-11-14 20:17:04 -08:00
Evan Hunt
06b4ff5fe2
convert geoip_test
2018-11-14 20:17:04 -08:00
Evan Hunt
015fda0bb4
convert nsec3_test
2018-11-14 20:17:04 -08:00
Evan Hunt
28121c248e
convert rdatasetstats_test
2018-11-14 20:17:04 -08:00
Evan Hunt
79cd093cd7
convert dbiterator_test
2018-11-14 20:17:04 -08:00
Evan Hunt
6dfc868fba
convert dbdiff_test
2018-11-14 20:17:04 -08:00
Evan Hunt
db5eece106
convert peer_test
2018-11-14 20:17:04 -08:00
Evan Hunt
cca16eccd7
convert rdataset_test
2018-11-14 20:17:04 -08:00
Evan Hunt
a33bca5d55
convert acl_test
2018-11-14 20:17:04 -08:00
Evan Hunt
dcf65c82ad
convert dh_test
2018-11-14 20:17:04 -08:00
Evan Hunt
318b340f5e
convert query_test
...
- also fixed a bug in openssldh_link.c that turned up in the process
2018-11-14 20:17:04 -08:00
Evan Hunt
d8766293ab
assert if {isc,dns,ns}_test_begin() is called when a prior test is running
2018-11-14 20:17:04 -08:00
Evan Hunt
b434b0a4b6
remove .NOTPARALLEL so unit tests can build faster
2018-11-14 20:17:04 -08:00
Evan Hunt
2afd18a2ce
add cmocka support to remaining unit test makefiles
...
- also cleaned up some existing test code
2018-11-14 20:17:04 -08:00
Ondřej Surý and Evan Hunt
c38b145b89
Remove OPENSSL_cleanup() call as we cannot recover from that, it will be called via atexit mechanism automatically
2018-11-14 20:17:04 -08:00
Mark Andrews
4eadebe2b2
uninitalize memory read on error path
2018-11-14 15:26:27 -05:00
Mark Andrews
93776c4c81
errors initalizing badcaches were not caught or cleaned up on error paths
2018-11-14 15:26:27 -05:00
Witold Kręcicki
9c8fead6d8
qname minimization: issue a warning only if the server is really broken
2018-11-14 19:55:10 +00:00
Mark Andrews and Evan Hunt
50714a9b35
free tmpzonename and restart_master
2018-11-14 11:23:21 -08:00
Mark Andrews and Evan Hunt
333f718dd3
don't use 'typename' as it is reserved in C++
2018-11-14 13:45:20 -05:00
Ondřej Surý
e9a939841d
Add min-cache-ttl and min-ncache-ttl keywords
...
Sometimes it is useful to set a 'floor' on the TTL for records
to be cached. Some sites like to use ridiculously low TTLs for
some reason, and that often is not compatible with slow links.
Signed-off-by: Michael Milligan <milli@acmeps.com >
Signed-off-by: LaMont Jones <lamont@debian.org >
2018-11-14 18:24:53 +01:00
Evan Hunt
471110933a
convert result tests to use CMocka instead of ATF
2018-11-10 12:29:40 -08:00
Mark Andrews
4f04a79250
check result tables are complete
2018-11-10 10:30:43 +11:00