diff --git a/tests-extra/tools/dnstest/params.py b/tests-extra/tools/dnstest/params.py index 91fe891f80f5f5ec1ffc80d61986b1b3fc0ceded..1357a28d2d0befed32c09c66dceb9d5e3cb2a7eb 100644 --- a/tests-extra/tools/dnstest/params.py +++ b/tests-extra/tools/dnstest/params.py @@ -65,6 +65,8 @@ kjournalprint_bin = get_binary("KNOT_TEST_KJOURNALPRINT", repo_binary("src/kjour bind_bin = get_binary("KNOT_TEST_BIND", "named") # KNOT_TEST_BINDC - Bind control binary. bind_ctl = get_binary("KNOT_TEST_BINDC", "rndc") +# KNOT_TEST_BIND_CHECKCONF - Bind checkconf binary. +bind_checkconf_bin = get_binary("KNOT_TEST_BIND_CHECKCONF", "named-checkconf") # KNOT_TEST_OUTS_DIR - working directories location. outs_dir = get_param("KNOT_TEST_OUTS_DIR", "/tmp") diff --git a/tests-extra/tools/dnstest/server.py b/tests-extra/tools/dnstest/server.py index fae1f3e6cf3a92929900b8e6d8425148664cd754..122c690823b3a88167d912a1956a94189265b27c 100644 --- a/tests-extra/tools/dnstest/server.py +++ b/tests-extra/tools/dnstest/server.py @@ -915,7 +915,7 @@ class Bind(Server): self.ctl("sync%s" % zone_name, wait=wait) def check_option(self, option): - proc = Popen([self.daemon_bin + "-checkconf", "/dev/fd/0"], + proc = Popen([params.bind_checkconf_bin, "/dev/fd/0"], stdout=PIPE, stderr=PIPE, stdin=PIPE, universal_newlines=True) conff = "options {\n %s;\n};" % option