]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
chg: test: Use isctest.asyncserver in the "chain" test
authorMichał Kępień <michal@isc.org>
Fri, 30 May 2025 17:37:53 +0000 (17:37 +0000)
committerMichał Kępień <michal@isc.org>
Fri, 30 May 2025 17:37:53 +0000 (17:37 +0000)
Replace the custom DNS servers used in the "chain" system test with
new code based on the isctest.asyncserver module.

For ans3, replace the sequence of logical conditions present in Perl
code with zone files and a limited amount of custom logic applied on top
of them where necessary.

For ans4, replace the ctl_channel() and create_response() functions with
a custom control command handler coupled with a dynamically instantiated
response handler, making the code more robust and readable.

Migrate sendcmd() and its uses to the new way of sending control queries
to custom servers used in system tests.

Depends on !10409

Merge branch 'michal/chain-asyncserver' into 'main'

See merge request isc-projects/bind9!10410


Trivial merge