BIND 10 trac2665, updated. a08b7575e7d42740c3f659087420472753bbee16 [trac2665] fixed two unchecked return codes in src/lib/config/tests/ccsession_unittests.cc
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Jan 31 18:28:23 UTC 2013
The branch, trac2665 has been updated
via a08b7575e7d42740c3f659087420472753bbee16 (commit)
from 4c4e2711beeb2eed8104055cf66dd4e8151c4fd1 (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 a08b7575e7d42740c3f659087420472753bbee16
Author: Curtis Blackburn <ckb at isc.org>
Date: Thu Jan 31 12:26:57 2013 -0600
[trac2665] fixed two unchecked return codes in src/lib/config/tests/ccsession_unittests.cc
-----------------------------------------------------------------------
Summary of changes:
src/lib/config/tests/ccsession_unittests.cc | 2 ++
1 file changed, 2 insertions(+)
-----------------------------------------------------------------------
diff --git a/src/lib/config/tests/ccsession_unittests.cc b/src/lib/config/tests/ccsession_unittests.cc
index e07c5a3..2a5e758 100644
--- a/src/lib/config/tests/ccsession_unittests.cc
+++ b/src/lib/config/tests/ccsession_unittests.cc
@@ -343,6 +343,7 @@ TEST_F(CCSessionTest, checkCommand) {
session.addMessage(el("{ \"command\": \"bad_command\" }"), "Spec29", "*");
result = mccs.checkCommand();
EXPECT_EQ(0, session.getMsgQueue()->size());
+ EXPECT_EQ(0, result);
session.addMessage(el("{ \"command\": [ \"bad_command\" ] }"),
"Spec29", "*");
@@ -627,6 +628,7 @@ TEST_F(CCSessionTest, ignoreRemoteConfigCommands) {
EXPECT_EQ(1, session.getMsgQueue()->size());
result = mccs.checkCommand();
EXPECT_EQ(0, session.getMsgQueue()->size());
+ EXPECT_EQ(0, result);
}
TEST_F(CCSessionTest, initializationFail) {
More information about the bind10-changes
mailing list