BIND 10 trac1136, updated. 8c4c34278c2a538d75cefa20e0f95bccf47e2ea2 [1136] Fix testcase to do case insensitive compare

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Mar 9 02:17:21 UTC 2012


The branch, trac1136 has been updated
       via  8c4c34278c2a538d75cefa20e0f95bccf47e2ea2 (commit)
      from  b74f0b4693dd310e1545247739106ccb1f6cf130 (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 8c4c34278c2a538d75cefa20e0f95bccf47e2ea2
Author: Mukund Sivaraman <muks at isc.org>
Date:   Fri Mar 9 07:47:08 2012 +0530

    [1136] Fix testcase to do case insensitive compare

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

Summary of changes:
 src/lib/dns/tests/rdata_sshfp_unittest.cc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/dns/tests/rdata_sshfp_unittest.cc b/src/lib/dns/tests/rdata_sshfp_unittest.cc
index 39e72e9..5c6ba9a 100644
--- a/src/lib/dns/tests/rdata_sshfp_unittest.cc
+++ b/src/lib/dns/tests/rdata_sshfp_unittest.cc
@@ -26,6 +26,7 @@
 
 #include <dns/tests/unittest_util.h>
 #include <dns/tests/rdata_unittest.h>
+#include <boost/algorithm/string.hpp>
 
 using isc::UnitTestUtil;
 using namespace std;
@@ -66,7 +67,7 @@ TEST_F(Rdata_SSHFP_Test, createFromWire) {
 }
 
 TEST_F(Rdata_SSHFP_Test, toText) {
-    EXPECT_EQ("2 1 123456789abcdef67890123456789abcdef67890", rdata_sshfp.toText());
+    EXPECT_TRUE(boost::iequals(sshfp_txt, rdata_sshfp.toText()));
 }
 
 TEST_F(Rdata_SSHFP_Test, getSSHFPAlgorithmNumber) {



More information about the bind10-changes mailing list