Skip to content
Snippets Groups Projects
Commit 231af9e9 authored by Daniel Salzman's avatar Daniel Salzman Committed by Lubos Slovak
Browse files

test-extra: fix Knot.ctl()

parent 695c303c
No related branches found
No related tags found
1 merge request!298Forced refresh fix
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
'''Test for reload of a changed zone (serial up, nochange, serial down). ''' '''Test for reload of a changed zone (serial up, nochange, serial down). '''
from dnstest.test import Test from dnstest.test import Test
from dnstest.utils import set_err, detail_log from dnstest.utils import *
t = Test() t = Test()
......
...@@ -997,7 +997,7 @@ class Knot(Server): ...@@ -997,7 +997,7 @@ class Knot(Server):
def ctl(self, params): def ctl(self, params):
try: try:
check_call([self.control_bin] + self.start_params + params.split, check_call([self.control_bin] + self.start_params + params.split(),
stdout=open(self.dir + "/call.out", mode="a"), stdout=open(self.dir + "/call.out", mode="a"),
stderr=open(self.dir + "/call.err", mode="a")) stderr=open(self.dir + "/call.err", mode="a"))
time.sleep(Server.START_WAIT) time.sleep(Server.START_WAIT)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment