]> 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:05:01 +0000 (11:05 +0200)
commit9491616e5cd412e30cd2802d963a3f024af9399e
treeb5e9d954500dff8153c25a62513321a1e24fab49
parentdb9cfde1ab00013f5ffb375fef49dd1a440552fe
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.
bin/tests/system/legacy/tests.sh