]> git.ipfire.org Git - thirdparty/bind9.git/commit
Properly test servers with TCP support disabled
authorMichał Kępień <michal@isc.org>
Wed, 29 May 2019 09:05:01 +0000 (11:05 +0200)
committerMichał Kępień <michal@isc.org>
Wed, 29 May 2019 09:11:03 +0000 (11:11 +0200)
commit5094902487b3d9eae7bb131fe3ce9d254db94c17
tree1d1382c4358f7e816ff6bee817d438d564172e8b
parentb728d58c4e899a6e95efc334efa25b089f65c412
Properly test servers with TCP support disabled

Sending TCP queries to test named instances with TCP support disabled
should cause dig output to contain the phrase "connection refused", not
"connection timed out", as such instances never open the relevant
sockets.  Make sure that the "legacy" system test fails if the expected
phrase is not found in any of the relevant files containing dig output.

(cherry picked from commit 9491616e5cd412e30cd2802d963a3f024af9399e)
bin/tests/system/legacy/tests.sh