]> git.ipfire.org Git - thirdparty/bind9.git/commit
Use isctest.asyncserver in the "qmin" test
authorMichał Kępień <michal@isc.org>
Tue, 18 Mar 2025 05:19:01 +0000 (06:19 +0100)
committerMichał Kępień <michal@isc.org>
Tue, 18 Mar 2025 05:19:01 +0000 (06:19 +0100)
commit7faa34c6ee40653eeec23ef2df8093564cfc1891
tree5c0c2e22e8c0b7c86db84ee28019f7c7750078a6
parent575a2e5f114c6659ca3c645ba8d63e9584cd3f08
Use isctest.asyncserver in the "qmin" test

Replace custom DNS servers used in the "qmin" system test with new code
based on the isctest.asyncserver module.  The revised code employs zone
files and a limited amount of custom logic, which massively improves
test readability and maintainability, extends logging, and fixes
non-compliant replies sent by some of the custom servers in response to
certain queries (e.g. AA=0 in authoritative empty non-terminal
responses, non-glue address records in ADDITIONAL section).
24 files changed:
bin/tests/system/qmin/ans2/1.0.0.2.ip6.arpa.db [new file with mode: 0644]
bin/tests/system/qmin/ans2/ans.py [changed mode: 0755->0644]
bin/tests/system/qmin/ans2/bad.db [new symlink]
bin/tests/system/qmin/ans2/fwd.db [new symlink]
bin/tests/system/qmin/ans2/good.db [new file with mode: 0644]
bin/tests/system/qmin/ans2/slow.db [new symlink]
bin/tests/system/qmin/ans2/stale.db [new file with mode: 0644]
bin/tests/system/qmin/ans2/ugly.db [new symlink]
bin/tests/system/qmin/ans3/8.2.6.0.1.0.0.2.ip6.arpa.db [new file with mode: 0644]
bin/tests/system/qmin/ans3/a.b.stale.db [new file with mode: 0644]
bin/tests/system/qmin/ans3/ans.py [changed mode: 0755->0644]
bin/tests/system/qmin/ans3/zoop.boing.bad.db [new file with mode: 0644]
bin/tests/system/qmin/ans3/zoop.boing.good.db [new file with mode: 0644]
bin/tests/system/qmin/ans3/zoop.boing.slow.db [new file with mode: 0644]
bin/tests/system/qmin/ans3/zoop.boing.ugly.db [new file with mode: 0644]
bin/tests/system/qmin/ans4/1.1.1.1.8.2.6.0.1.0.0.2.ip6.arpa.db [new file with mode: 0644]
bin/tests/system/qmin/ans4/a.b.stale.db [new file with mode: 0644]
bin/tests/system/qmin/ans4/ans.py [changed mode: 0755->0644]
bin/tests/system/qmin/ans4/b.stale.db [new file with mode: 0644]
bin/tests/system/qmin/ans4/icky.ptang.zoop.boing.bad.db [new file with mode: 0644]
bin/tests/system/qmin/ans4/icky.ptang.zoop.boing.good.db [new file with mode: 0644]
bin/tests/system/qmin/ans4/icky.ptang.zoop.boing.slow.db [new file with mode: 0644]
bin/tests/system/qmin/ans4/icky.ptang.zoop.boing.ugly.db [new file with mode: 0644]
bin/tests/system/qmin/qmin_ans.py [new file with mode: 0644]