BIND 10 trac2861, updated. bc25129780f807429a8c9f4cec569ed35f6b066c [2861] Don't warn on unused result
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Jul 9 07:48:28 UTC 2013
The branch, trac2861 has been updated
via bc25129780f807429a8c9f4cec569ed35f6b066c (commit)
from d2cf6a85554d5d9e02f1073bf41c61206a82effc (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 bc25129780f807429a8c9f4cec569ed35f6b066c
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date: Tue Jul 9 09:44:14 2013 +0200
[2861] Don't warn on unused result
-----------------------------------------------------------------------
Summary of changes:
src/bin/auth/tests/datasrc_clients_mgr_unittest.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/auth/tests/datasrc_clients_mgr_unittest.cc b/src/bin/auth/tests/datasrc_clients_mgr_unittest.cc
index 68ea818..1bf8101 100644
--- a/src/bin/auth/tests/datasrc_clients_mgr_unittest.cc
+++ b/src/bin/auth/tests/datasrc_clients_mgr_unittest.cc
@@ -263,7 +263,7 @@ TEST(DataSrcClientsMgrTest, wakeup) {
// Push a callback in and wake the manager
FakeDataSrcClientsBuilder::callback_queue->
push_back(boost::bind(callback, &called, &tag, 1));
- write(FakeDataSrcClientsBuilder::wakeup_fd, "w", 1);
+ EXPECT_EQ(1, write(FakeDataSrcClientsBuilder::wakeup_fd, "w", 1));
mgr.run_one();
EXPECT_TRUE(called);
EXPECT_EQ(1, tag);
@@ -271,7 +271,7 @@ TEST(DataSrcClientsMgrTest, wakeup) {
called = false;
// If we wake up and don't push anything, it doesn't break.
- write(FakeDataSrcClientsBuilder::wakeup_fd, "w", 1);
+ EXPECT_EQ(1, write(FakeDataSrcClientsBuilder::wakeup_fd, "w", 1));
mgr.run_one();
EXPECT_FALSE(called);
More information about the bind10-changes
mailing list