Mark Andrews
6a5c8ec2ea
add more error logging; add event processing logging
2018-12-05 18:23:30 -05:00
Ondřej Surý
00cc0b236a
Add DNSKEY and CDNSKEY with unknown algorithm number (PRIVATEDNS) and \0 as content
2018-12-05 11:29:27 +01:00
Ondřej Surý
b13c7ca402
Refactor masterformat to be shellcheck clean and don't use RSAMD5 algorithm in the tests
2018-12-05 11:29:27 +01:00
Ondřej Surý
835bad2c5c
Make the start.pl and stop.pl more Cygwin friendly
2018-12-04 15:02:22 +01:00
Ondřej Surý
88d3338f5f
Replace realpath with cd&pwd shell magic
2018-12-03 20:40:59 +01:00
Witold Kręcicki
9532e3256e
tcp test: sleep for 1 second before gathering stats to make
...
sure that the stats are there
2018-12-03 18:49:48 +00:00
Witold Kręcicki
a48ca15e77
Fetchlimit test: update softquota limit to 380.
...
In the test the quota is set to 400, and softquota to 90%*400=360.
We first attach to quota, and then if we're above softquota we
drop the oldest client. With new socket code and taskmgr it's
parallel enough to create a race between multiple instances doing
'attach to quota' and then 'drop oldest client' - making number
of clients go over softquota. It's not a problem in real life, as
it's just soft quota.
2018-12-03 18:49:48 +00:00
Ondřej Surý
e227815af5
Make calls to the stop.pl always use the test name instead of '.'
2018-12-03 16:24:09 +01:00
Ondřej Surý
27ee629e6b
stop.pl - refactor
2018-12-03 16:24:09 +01:00
Ondřej Surý
16b95157e8
Make calls to the start.pl always use the test name instead of '.'
2018-12-03 15:50:21 +01:00
Brian Conry and Ondřej Surý
0fc8bfef13
start.pl - refactor
2018-12-03 15:50:21 +01:00
Brian Conry and Ondřej Surý
597049461d
start.pl - wait for server to say 'running'
2018-12-03 15:23:36 +01:00
Ondřej Surý
253c175d7b
Fix typos and missing ALTERNATIVE_ALGORITHM in conf.sh.win32
2018-12-03 09:29:33 +01:00
Ondřej Surý
b2c4c35493
Add ALTERNATIVE_ALGORITHM to conf.sh
2018-12-03 08:34:49 +01:00
Ondřej Surý
1b2a3a0ea6
Export SYSTEMTESTTOP from run.sh (so, it doesn't have to be defined in each script) and scrub / from the test names
2018-12-03 08:34:45 +01:00
Mark Andrews
6499bdfd8b
use documented default key ttl
2018-11-29 07:50:02 +11:00
Mark Andrews
0ac2a868bb
add reproducer for [GL #585 ]
2018-11-29 07:50:02 +11:00
Evan Hunt
dfa1589975
echo debug output (D:text) the same as informational (I:text)
2018-11-16 19:30:30 +00:00
Witold Kręcicki
d960210114
Fix fetchlimit test to allow softquota to be overruled; Remove 'verifying that named checks for conflicting listeners' test from runtime
2018-11-15 08:21:17 +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
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
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
28442f11f0
log RPZ type and class
2018-11-08 22:48:28 -05:00
Ondřej Surý
fbd2e47f51
Add small tweaks to the code to fix compilation when ISC assertions are disabled
...
While implementing the new unit testing framework cmocka, it was found that the
BIND 9 code doesn't compile when assertions are disabled or replaced with any
function (such as mock_assert() from cmocka unit testing framework) that's not
directly recognized as assertion by the compiler.
This made the compiler to complain about blocks of code that was recognized as
unreachable before, but now it isn't.
The changes in this commit include:
* assigns default values to couple of local variables,
* moves some return statements around INSIST assertions,
* adds __builtin_unreachable(); annotations after some INSIST assertions,
* fixes one broken assertion (= instead of ==)
2018-11-08 12:21:53 +07:00
Witold Krecicki
82dfb77328
Remove unnecessary sed from autosign test
2018-11-08 00:07:00 +01:00
Witold Krecicki
0949b1fe2c
Use 'local' variable in echo functions in tests
2018-11-07 23:15:06 +01:00
Witold Kręcicki
dbf2e7928e
Get rid of bashism in CDS test
2018-11-07 23:13:47 +01:00
Witold Kręcicki
152c437bb8
Allow slight over-quota in'checking lame server clients are dropped at the soft limit' test
2018-11-06 08:19:50 +00:00
Tony Finch and Evan Hunt
1b1d63acd8
Fixes for rndc nta user interface
...
Tell the user explicitly about their mistakes:
* Unknown options, e.g. -list instead of -dump
or -delete instead of -remove.
* Unknown view names.
* Excess arguments.
Include the view name in `rndc nta -dump` output, for consistency with
the NTA add and remove actions.
When removing an NTA from all views, do not abort with an error if the
NTA was not found in one of the views.
2018-11-05 22:01:28 -08:00
Ondřej Surý
e8c57a78aa
Update the idna tests for the new non-tty defaults
2018-11-06 12:48:08 +07:00
Mark Andrews
164370102a
test require-server-cookie with rate-limit
2018-11-06 10:10:04 +11:00
Evan Hunt
fc99651d7d
disable QNAME minimization in the dnstap test so packet counts will be correct
2018-11-02 11:34:27 -07:00
Witold Kręcicki and Evan Hunt
9163e93b9e
Avoid a race in qmin test
2018-11-02 13:51:31 -04:00
Michał Kępień
27cfe83a38
Check serve-stale behavior with a cold cache
...
Ensure that serve-stale works as expected when returning stale answers
is enabled, the authoritative server does not respond, and there is no
cached answer available.
2018-10-31 14:08:09 +01:00
Michał Kępień
893ab37ce7
Check TTL of stale answers
...
Make sure that stale answers returned when the serve-stale feature is
enabled have a TTL matching the value of the stale-answer-ttl setting.
2018-10-31 14:08:09 +01:00
Mark Andrews
280d0ca507
use new packet for response; rename variable to request and response
2018-10-31 16:14:43 +11:00
Witold Kręcicki
67f824434f
Fix style in catz test
2018-10-30 19:08:11 +00:00
Witold Kręcicki
ce47ca8c6b
catz test: wait for dom8.example to be transferred before checking its availability
2018-10-30 19:08:11 +00:00
Mark Andrews
2ff57d8a39
Record types which support a empty rdata field were not handling the empty rdata field case.
2018-10-30 11:03:02 +11:00
Witold Kręcicki
08460c8cb2
Don't do qname minimization when forwarding; Avoid some intermittent errors in qmin tests caused by timing
2018-10-29 19:22:10 +00:00
Witold Kręcicki
b4ca282589
Test for #361 - forwarding breaks with qname minimization
2018-10-29 19:22:10 +00:00
Witold Kręcicki
5979471dc7
statschannel test: try 5 times to check if compressed and regular output of statschannel is the same - some counters can change, minimize risk of bad timing
2018-10-26 08:36:48 +00:00
Mark Andrews and Evan Hunt
fbab100426
Add support for EID and NIMLOC
2018-10-25 15:20:33 -07:00
Mark Andrews and Evan Hunt
eb7ca65b78
GID, UID and UINFO could not be loaded using unknown record format.
2018-10-25 13:00:32 -07:00
Mark Andrews
f9ceddd8ca
Add support for ATMA
2018-10-25 13:21:49 +11:00
Michał Kępień and Ondřej Surý
adbe2caf28
Test whether mirror zones can be added and removed dynamically
...
Extend the "mirror" zone system test to make sure mirror zones can be
added and removed dynamically using rndc.
2018-10-24 20:32:56 +02:00