BIND 10 trac3028, updated. 078965388c8160137cfb8ddbe05104d90f3bcf31 [3028] Remove outdated comment
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Aug 21 07:11:08 UTC 2013
The branch, trac3028 has been updated
via 078965388c8160137cfb8ddbe05104d90f3bcf31 (commit)
via a8bb19e3163331d8b1137869d4ddd96353d654c1 (commit)
from 507da494700d05fe55a928ad57757a4af3d5f2cb (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 078965388c8160137cfb8ddbe05104d90f3bcf31
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date: Wed Aug 21 09:10:30 2013 +0200
[3028] Remove outdated comment
commit a8bb19e3163331d8b1137869d4ddd96353d654c1
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date: Wed Aug 21 09:09:24 2013 +0200
[3028] Check the shutdown is actually called
-----------------------------------------------------------------------
Summary of changes:
src/bin/cmdctl/b10-cmdctl.xml | 2 --
src/bin/cmdctl/tests/cmdctl_test.py | 4 +++-
2 files changed, 3 insertions(+), 3 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/cmdctl/b10-cmdctl.xml b/src/bin/cmdctl/b10-cmdctl.xml
index 871265c..c66837c 100644
--- a/src/bin/cmdctl/b10-cmdctl.xml
+++ b/src/bin/cmdctl/b10-cmdctl.xml
@@ -169,8 +169,6 @@
The configuration command is:
</para>
-<!-- NOTE: print_settings is not documented since I think will be removed -->
-
<para>
<command>shutdown</command> exits <command>b10-cmdctl</command>.
This has an optional <varname>pid</varname> argument to
diff --git a/src/bin/cmdctl/tests/cmdctl_test.py b/src/bin/cmdctl/tests/cmdctl_test.py
index 690df87..ce1dc96 100644
--- a/src/bin/cmdctl/tests/cmdctl_test.py
+++ b/src/bin/cmdctl/tests/cmdctl_test.py
@@ -468,14 +468,16 @@ class TestCommandControl(unittest.TestCase):
def send_stopping():
pass
self.cmdctl._module_cc = ModuleCC
+ called = []
class Server:
def shutdown():
- pass
+ called.append('shutdown')
self.cmdctl._httpserver = Server
answer = self.cmdctl.command_handler('shutdown', None)
rcode, msg = ccsession.parse_answer(answer)
self.assertEqual(rcode, 0)
self.assertIsNone(msg)
+ self.assertTrue(['shutdown'], called)
def test_command_handler_spec_update(self):
# Should not be present
More information about the bind10-changes
mailing list