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).
This commit is contained in:
Michał Kępień
2019-01-31 15:43:58 +01:00
committed by Evan Hunt
parent 6071c6cc27
commit a22e24a411
7 changed files with 74 additions and 1 deletions

View File

@@ -1161,6 +1161,7 @@
./bin/tests/system/xfer/ans5/unknownkey X 2011,2018,2019
./bin/tests/system/xfer/ans5/unsigned X 2011,2018,2019
./bin/tests/system/xfer/ans5/wrongkey X 2011,2018,2019
./bin/tests/system/xfer/axfr-stats.good X 2019
./bin/tests/system/xfer/clean.sh SH 2000,2001,2004,2007,2011,2012,2013,2014,2015,2016,2018,2019
./bin/tests/system/xfer/dig1.good X 2000,2001,2003,2004,2009,2011,2012,2013,2014,2015,2016,2017,2018,2019
./bin/tests/system/xfer/dig2.good X 2000,2001,2003,2004,2009,2011,2012,2013,2014,2015,2016,2017,2018,2019