]> git.ipfire.org Git - thirdparty/bind9.git/commit
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)
commitfec62266cbf6b5fd6c03dcc4921241b97e1fb8ab
tree7ff6eec9f40555cf33bcac10350bd3567d3de527
parentea2bef720d4ceb069a359a5032d9f25fc772ecc0
parentc3d3c9955d61489bc38a5c137d318c7333b2be9e
chg: test: Use isctest.asyncserver in the "chain" test

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