summaryrefslogtreecommitdiffstats
path: root/tests-extra/tests/ctl/basic/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests-extra/tests/ctl/basic/test.py')
-rw-r--r--tests-extra/tests/ctl/basic/test.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests-extra/tests/ctl/basic/test.py b/tests-extra/tests/ctl/basic/test.py
index 4aaea38a7..a5defec8d 100644
--- a/tests-extra/tests/ctl/basic/test.py
+++ b/tests-extra/tests/ctl/basic/test.py
@@ -24,6 +24,14 @@ t.start()
ctl.connect(os.path.join(knot.dir, "knot.sock"))
+# Check conf-abort and conf-commit without conf transaction open.
+
+ctl.send_block(cmd="conf-abort")
+resp = ctl.receive_block()
+
+ctl.send_block(cmd="conf-commit")
+resp = ctl.receive_block()
+
# Add new zone.
ctl.send_block(cmd="conf-begin")
resp = ctl.receive_block()