]> git.ipfire.org Git - thirdparty/bind9.git/commit
create system test with asynchronous plugin
authorEvan Hunt <each@isc.org>
Fri, 20 Nov 2020 01:58:45 +0000 (17:58 -0800)
committerEvan Hunt <each@isc.org>
Tue, 24 Nov 2020 23:11:39 +0000 (15:11 -0800)
commitc3a90b1d2c3e33e475894499043e81ef1a67f04a
tree8c5adaaa8aacb04d7e60f413c107bd71eb4dd506
parent75cdd758ed010c61fce7512f5513ab6dd422e97d
create system test with asynchronous plugin

the test-async plugin uses ns_query_hookasync() at the
NS_QUERY_DONE_SEND hook point to call an asynchronous function.
the only effect is to change the query response code to "NOTIMP",
so we can confirm that the hook ran and resumed correctly.
bin/tests/system/Makefile.am
bin/tests/system/hooks/clean.sh [new file with mode: 0644]
bin/tests/system/hooks/driver/Makefile.am [new file with mode: 0644]
bin/tests/system/hooks/driver/test-async.c [new file with mode: 0644]
bin/tests/system/hooks/ns1/example.db [new file with mode: 0644]
bin/tests/system/hooks/ns1/named.conf.in [new file with mode: 0644]
bin/tests/system/hooks/setup.sh [new file with mode: 0644]
bin/tests/system/hooks/tests.sh [new file with mode: 0644]
configure.ac
util/copyrights