BIND 10 trac2353, updated. ec4581da1a15031128504cf97c8c578669422126 [2353] Check if msgq_socket_file is carried over in BoB.startup()

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Dec 5 08:11:00 UTC 2012


The branch, trac2353 has been updated
       via  ec4581da1a15031128504cf97c8c578669422126 (commit)
      from  70db0c50bf842765d90e2a6b3abf4f5360f31281 (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 ec4581da1a15031128504cf97c8c578669422126
Author: Mukund Sivaraman <muks at isc.org>
Date:   Wed Dec 5 13:40:51 2012 +0530

    [2353] Check if msgq_socket_file is carried over in BoB.startup()

-----------------------------------------------------------------------

Summary of changes:
 src/bin/bind10/tests/bind10_test.py.in |    8 ++++++++
 1 file changed, 8 insertions(+)

-----------------------------------------------------------------------
diff --git a/src/bin/bind10/tests/bind10_test.py.in b/src/bin/bind10/tests/bind10_test.py.in
index bb7e38a..1e62d9f 100644
--- a/src/bin/bind10/tests/bind10_test.py.in
+++ b/src/bin/bind10/tests/bind10_test.py.in
@@ -1965,6 +1965,7 @@ class TestBossComponents(unittest.TestCase):
         self.assertTrue(bob.started)
         self.assertFalse(bob.killed)
         self.assertTrue(bob.runnable)
+        self.assertEqual({}, bob.c_channel_env)
 
         # Case where starting components fails. We check that
         # kill_started_components() is called right after, and
@@ -1976,6 +1977,13 @@ class TestBossComponents(unittest.TestCase):
         self.assertTrue(bob.started)
         self.assertTrue(bob.killed)
         self.assertFalse(bob.runnable)
+        self.assertEqual({}, bob.c_channel_env)
+
+        # Check if msgq_socket_file is carried over
+        bob = MockBobStartup(False)
+        bob.msgq_socket_file = 'foo'
+        r = bob.startup()
+        self.assertEqual({'BIND10_MSGQ_SOCKET_FILE': 'foo'}, bob.c_channel_env)
 
 class SocketSrvTest(unittest.TestCase):
     """



More information about the bind10-changes mailing list