BIND 10 trac2430, updated. f6d053c16792e0a511af21ca758b14fcf26ae032 [2430] Print debugging aid when check fails

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Feb 4 13:55:43 UTC 2014


The branch, trac2430 has been updated
       via  f6d053c16792e0a511af21ca758b14fcf26ae032 (commit)
      from  2fb705ea4e81f57170a9335a1d524946f6eef829 (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 f6d053c16792e0a511af21ca758b14fcf26ae032
Author: Mukund Sivaraman <muks at isc.org>
Date:   Tue Feb 4 19:25:05 2014 +0530

    [2430] Print debugging aid when check fails

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

Summary of changes:
 src/lib/dns/tests/master_loader_unittest.cc |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/lib/dns/tests/master_loader_unittest.cc b/src/lib/dns/tests/master_loader_unittest.cc
index 09ee3d0..b12034f 100644
--- a/src/lib/dns/tests/master_loader_unittest.cc
+++ b/src/lib/dns/tests/master_loader_unittest.cc
@@ -123,7 +123,9 @@ public:
         EXPECT_EQ(rrttl, current->getTTL());
         ASSERT_EQ(1, current->getRdataCount());
         EXPECT_EQ(0, isc::dns::rdata::createRdata(type, RRClass::IN(), data)->
-                  compare(current->getRdataIterator()->getCurrent()));
+                  compare(current->getRdataIterator()->getCurrent()))
+            << data << " vs. "
+            << current->getRdataIterator()->getCurrent().toText();
     }
 
     void checkBasicRRs() {



More information about the bind10-changes mailing list