Evan Hunt
c1c8d8846f
convert safe_test
2018-11-14 20:17:04 -08:00
Evan Hunt
718ca3166c
convert radix_test
2018-11-14 20:17:04 -08:00
Evan Hunt
cc6ab2416b
convert heap_test
2018-11-14 20:17:04 -08:00
Evan Hunt
a7c308df9c
convert parse_test
2018-11-14 20:17:04 -08:00
Evan Hunt
52b86f0abe
convert counter_test
2018-11-14 20:17:04 -08:00
Evan Hunt
02a5db7631
convert buffer_test
2018-11-14 20:17:04 -08:00
Evan Hunt
dc88db015b
convert aes_test
2018-11-14 20:17:04 -08:00
Evan Hunt
79ac715763
convert listenlist_test; remove ATF from lib/ns/tests
2018-11-14 20:17:04 -08:00
Evan Hunt
48dc2831d7
convert notify_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
cec8c52cbe
convert resconf_test; remove ATF from lib/irs/tests
2018-11-14 20:17:04 -08:00
Evan Hunt
7ec945bd41
convert parser_test; remove ATF from lib/isccfg/tests
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
Evan Hunt
f456e64736
set HAVE_CMOCKA correctly when using --with-cmocka=yes
...
(note: this is still broken if using --with-cmocka=path)
2018-11-14 20:17:04 -08:00
Ondřej Surý
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
1473ddcc65
Merge branch 'u/fanf2/optionally-disable-digrc' into 'master'
...
dig: a -r option to disable .digrc
See merge request isc-projects/bind9!970
2018-11-14 20:53:40 -05:00
Mark Andrews
a5524b5fe2
add CHANGES
2018-11-15 11:09:04 +11:00
Tony Finch
fdb74fed9e
dig: a -r option to disable .digrc
2018-11-15 11:09:04 +11:00
Mark Andrews
995bafbd72
Merge branch 'ondrej/use-static-assert' into 'master'
...
Use static assertions on non-Windows platforms (requires C11 or gcc-4.6+)
See merge request isc-projects/bind9!1045
2018-11-14 18:39:52 -05:00
Ondřej Surý
de6f43d071
Use static assertion to check for correct alignment size
2018-11-14 18:18:27 -05:00
Ondřej Surý
5e44a1008f
Define STATIC_ASSERT(cond, msg) to be _Static_assert(cond, msg) everywhere but on Windows where it stays to be INSIST(cond)
2018-11-14 18:18:27 -05:00
Evan Hunt
82b23ecc5e
Merge branch '347-various-bind-9-bugs-in-cleanup-after-fail-scenarios' into 'master'
...
Resolve "Various BIND 9 bugs in cleanup-after-fail scenarios"
Closes #347
See merge request isc-projects/bind9!1007
2018-11-14 16:53:18 -05: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 Krecicki
652ce14e7f
Merge branch '671-late-qmin-relaxed-warning' into 'master'
...
qname minimization: issue a warning only if the server is really broken
Closes #671
See merge request isc-projects/bind9!994
2018-11-14 15:14:40 -05:00
Witold Kręcicki
2639030d66
CHANGES note
2018-11-14 19:56:29 +00: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
Evan Hunt
13e53ef38a
Merge branch '558-nsupdate-leaks-memory-when-using-gss-tsig-and-receiving-sigterm-at-a-right-time' into 'master'
...
Resolve "nsupdate leaks memory when using GSS-TSIG and receiving SIGTERM at a "right" time"
Closes #558
See merge request isc-projects/bind9!1048
2018-11-14 14:39:09 -05:00
Mark Andrews
50714a9b35
free tmpzonename and restart_master
2018-11-14 11:23:21 -08:00
Evan Hunt
a91bf68d66
Merge branch '675-don-t-use-typename' into 'master'
...
Resolve "Don't use 'typename'"
Closes #675
See merge request isc-projects/bind9!1034
2018-11-14 14:03:10 -05:00
Mark Andrews
333f718dd3
don't use 'typename' as it is reserved in C++
2018-11-14 13:45:20 -05:00
Ondřej Surý
c59f332db2
Merge branch '613-add-option-for-min-cache' into 'master'
...
Add min-cache-ttl and min-ncache-ttl keywords
Closes #613
See merge request isc-projects/bind9!889
2018-11-14 12:51:34 -05:00
Ondřej Surý
261230343a
Add CHANGES entry for GL#613
2018-11-14 18:25:11 +01:00
Ondřej Surý
11db6dd8ff
Add release notes for min-{cache,ncache}-ttl and now enforced max-ncache-ttl limit
2018-11-14 18:24:53 +01:00
Ondřej Surý
3f95f4ffbb
Add documentation for min-{ncache,cache}-ttl
2018-11-14 18:24:53 +01:00
Ondřej Surý
cf9c2ef305
Fix the max-ncache-ttl tests
2018-11-14 18:24:53 +01:00
Ondřej Surý
f6ca532df4
Add system tests for {min,max}-{cache,ncache}-ttl
2018-11-14 18:24:53 +01:00
Ondřej Surý
02b828e63f
Use @abs_top_builddir@ to define BIND 9 top build directory in conf.sh
2018-11-14 18:24:53 +01:00
Ondřej Surý
54fdd6e834
Add min-{n,}cache-ttl tests for checkconf
2018-11-14 18:24:53 +01: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
Mark Andrews
ac2ea36fa5
Merge branch '688-prefer-kyua-over-aft-run' into 'master'
...
Resolve "prefer kyua over aft-run"
Closes #688
See merge request isc-projects/bind9!1030
2018-11-14 06:12:04 -05:00
Mark Andrews
590d391bbb
prefer kyua over atf
2018-11-14 03:43:01 -05:00
Mark Andrews
aa2c4bfdc0
Merge branch '584-dig-treats-4-6-m-after-q-argument-as-an-option-but-not-a-domain-name' into 'master'
...
Resolve "dig treats -4/-6/-m after -q argument as an option but not a domain name"
Closes #584
See merge request isc-projects/bind9!979
2018-11-13 19:51:06 -05:00
Evan Hunt
e356d93175
style
2018-11-13 16:41:54 -08:00
Mark Andrews
77128c867c
check that delv -q -m works
2018-11-14 11:38:08 +11:00
Mark Andrews
f6f07fb41e
check that dig -q -m works
2018-11-14 11:14:49 +11:00
Mark Andrews
ba5d28dcfe
add -q to dash_opts
2018-11-14 10:50:34 +11:00
Mark Andrews
75fa84b67b
dig and mdig failed to properly preparse dash value pairs when value was a seperate argument and started with a dash.
2018-11-14 08:39:05 +11:00