Evan Hunt
ba0313e649
fix spelling errors reported by Fossies.
2020-02-21 15:05:08 +11:00
Mark Andrews
05aa45c602
improve forensic logs
...
improve forensic logs by directing output to per sub-test named
files and reporting the sub-subtest number.
2020-01-07 14:23:48 +01:00
Mark Andrews
9bd6720f58
suppress unnecessary zone transfer
...
suppressed unnecessary zone transfer in "test mapped zone with
out of zone data" sub-test.
2020-01-07 14:23:17 +01:00
Mark Andrews
46982b414b
Improve forensic logging in "testing basic zone transfer functionality"
...
Split the "testing basic zone transfer functionality" into primary and
secondary parts to improve forensic logging.
2020-01-07 14:23:08 +01:00
Evan Hunt
24510a1fda
adjust system tests to deal with possible timing issues
...
With the netmgr in use, named may start answering queries before zones
are loaded. This can cause transient failures in system tests after
servers are restarted or reconfigured. This commit adds retry loops
and sleep statements where needed to address this problem.
Also incidentally silenced a clang warning.
2019-11-07 12:42:14 -08:00
Mark Andrews
2390d16955
silence dos2unix messages
2019-09-04 10:04:14 +10:00
Michał Kępień
9fc5e48b14
Wait for outgoing transfer statistics to be logged
...
Since the message confirming outgoing transfer completion is logged
asynchronously, it may happen that transfer statistics may not yet be
logged by the time the dig command triggering a given transfer returns.
This causes false positives for the "ixfr" and "xfer" system tests.
Prevent this from happening by checking outgoing transfer statistics up
to 10 times, in 1-second intervals.
2019-06-25 21:41:42 +02:00
Michał Kępień
a22e24a411
Add system tests for AXFR statistics
...
Ensure AXFR statistics are calculated correctly by dig and named, both
for incoming and outgoing transfers. Rather than employing a zone which
is already used in the "xfer" system test, create a new one whose AXFR
form spans multiple TCP messages. Disable EDNS when using dig to
request an AXFR so that the same reference file can be used for testing
statistics calculated by both dig and named (dig uses EDNS by default
when sending transfer requests, which affects the number of bytes
transferred).
2019-01-31 16:55:01 -05:00
Witold Kręcicki
6d50138405
Use rndc_reload in tests, make sure that reload is complete before continuing
2018-12-19 11:33:37 +01: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ý
16b95157e8
Make calls to the start.pl always use the test name instead of '.'
2018-12-03 15:50:21 +01:00
Evan Hunt
0e52fbd0b3
clean up test output
...
- removed a few remaing places where output wasn't being passed
through echo_i or cat_i
- added a "digcomp" function to conf.sh.in to send digcomp.pl output
through cat_i and return the correct exit value
- set SYSTESTDIR when calling echo_i from nsX directories, so that
the test name will always be printed correctly
- fixed a test name typo in conf.sh.in
2018-02-26 23:37:05 -08:00
Evan Hunt
5d7d6881a1
improve reliability of xfer test
2018-02-23 16:52:34 -08:00
Ondřej Surý
843d389661
Update license headers to not include years in copyright in all applicable files
2018-02-23 10:12:02 +01:00
Evan Hunt
0c559199bf
final cleanup
...
- add CHANGES note
- update copyrights and license headers
- add -j to the make commands in .gitlab-ci.yml to take
advantage of parallelization in the gitlab CI process
2018-02-22 22:58:15 -08:00
Evan Hunt
b9246ce773
improve reliability of the xfer test on slow systems
...
- lengthed the wait loop for the transfers to complete
2018-02-22 22:08:02 -08:00
Evan Hunt
731ad28be2
removed some unnecessary greps
2018-02-22 15:29:02 -08:00
Evan Hunt
c032c54dda
parallelize most system tests
2018-02-22 15:29:02 -08:00
Mark Andrews
5f8412a4cb
4504. [security] Allow the maximum number of records in a zone to
...
be specified. This provides a control for issues
raised in CVE-2016-6170. [RT #42143 ]
2016-11-02 17:31:27 +11:00
Witold Krecicki
358dfaee18
4487. [test] Make system tests work on Windows. [RT #42931 ]
2016-10-19 17:18:42 +02:00
Mark Andrews
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
Mark Andrews
3635d8f910
do not overflow exit status. [RT #42643 ]
2016-06-14 13:48:39 +10:00
Mark Andrews
f9da4a8e54
4321. [bug] Zones using mapped files containing out-of-zone data
...
could return SERVFAIL instead of the expected NODATA
or NXDOMAIN results. [RT #41596 ]
2016-02-24 11:13:24 +11:00
Tinderbox User
b7f3400f3b
update copyright notice / whitespace
2016-01-28 23:45:29 +00:00
Mark Andrews
9d85a77382
4304. [port] xfer system test failed as 'tail -n +value' is not
...
portable. [RT #41315 ]
2016-01-28 15:38:06 +11:00
Mukund Sivaraman
ecc06cbc32
Use optimal message sizes to improve compression in AXFRs ( #40996 )
2015-12-15 13:24:14 +05:30
Mark Andrews
5be3128599
address race condition rt40242
2015-09-09 18:12:05 +10:00
Evan Hunt
05b1684791
[master] fix an awk portability issue
2015-08-03 14:21:16 -07:00
Mark Andrews
e834b30f7c
use awk for line count rather that wc -l which may space pad
2015-04-16 12:17:59 +10:00
Tinderbox User
a269ca51cc
update copyright notice / whitespace
2015-04-14 23:45:21 +00:00
Mukund Sivaraman
ac31adc3b7
Add additional logging about xfrin transfer status ( #39170 )
2015-04-14 12:16:26 +05:30
Mark Andrews
43b9737b11
3911. [func] Implement EDNS EXPIRE option client side. [RT #35925 ]
2014-08-06 11:50:40 +10:00
Tinderbox User
d1b499c827
update copyright notice
2014-07-29 23:45:20 +00:00
Evan Hunt
2383eb5272
[master] add CAA rdata support
...
3056. [protocol] Added support for CAA record type (RFC 6844).
[RT #36625 ]
2014-07-29 08:40:35 -07:00
Mark Andrews
fae66f41c5
wait for upstream transfer to complete
2013-03-08 17:14:03 +11:00
Tinderbox User
3aaa526a94
update copyright notice
2013-01-23 23:45:55 +00:00
Evan Hunt
214836c184
[master] dump masterfile after successful xfrin
...
3470. [bug] Slave zones could fail to dump when successfully
refreshing after an initial failure. [RT #31276 ]
2013-01-22 15:49:50 -08:00
Mark Andrews
bf8267aa45
reverse bad copyright update
2012-06-29 11:39:47 +10:00
Tinderbox User
247bf37860
update copyright notice
2012-06-29 01:22:18 +00:00
Automatic Updater
6c6ccd6b33
update copyright notice
2012-02-22 23:47:35 +00:00
Mark Andrews
490b05960c
3287. [port] Update ans.pl to work with Net::DNS 0.68. [RT #28028 ]
2012-02-22 14:22:54 +00:00
Mark Andrews
553197e288
3231. [bug] named could fail to send a uncompressable zone.
...
[RT #26796 ]
3230. [bug[ 'dig axfr' failed to properly handle a multi-message
axfr with a serial of 0. [RT #26796 ]
2011-12-01 00:53:58 +00:00
Mark Andrews
2d96b63d31
3067. [bug] ixfr-from-differences {master|slave}; failed to
...
select the master/slave zones. [RT #23580 ]
2011-03-11 00:43:54 +00:00
Automatic Updater
0e27506ce3
update copyright notice
2011-03-05 23:52:31 +00:00
Evan Hunt
c2f051aaaa
3059. [test] Added a regression test for change #3023 .
2011-03-04 22:01:01 +00:00
Automatic Updater
70e5a7403f
update copyright notice
2007-06-19 23:47:24 +00:00
Automatic Updater
ec5347e2c7
update copyright notice
2007-06-18 23:47:57 +00:00
Mark Andrews
e6d667397a
update copyright notice
2005-11-03 00:02:56 +00:00
Mark Andrews
d29c05346a
address timing issue in tests
2005-11-02 04:56:49 +00:00
Mark Andrews
dafcb997e3
update copyright notice
2004-03-05 05:14:21 +00:00