]> git.ipfire.org Git - thirdparty/pdns.git/commit
Disable the actual connect() in the test_dnsdisttcp_cc_c unit tests. 10977/head
authorOtto <otto.moerbeek@open-xchange.com>
Fri, 12 Nov 2021 12:19:47 +0000 (13:19 +0100)
committerOtto <otto.moerbeek@open-xchange.com>
Fri, 12 Nov 2021 14:30:36 +0000 (15:30 +0100)
commit913d7fe7e1fc53b4827427fcf3719c96bbaf2c35
treeacffc69588f7911a393be75f228e9f160ef9dea7
parent1d28a643ad6226bfb482c1bdeac4525eb9bfcaa4
Disable the actual connect() in the test_dnsdisttcp_cc_c unit tests.

They are not needed and cause (at least on OpenBSD) firewall state table
clashes: they remain in a embryotic state because no actual activity
occurs on them due to the rest of the tests using mockup code.

tcpiohandler.cc is not linked into the tests, so define it locally in
test-dnsdisttcp_cc.cc as well.
pdns/dnsdistdist/test-dnsdisttcp_cc.cc
pdns/tcpiohandler.cc
pdns/tcpiohandler.hh