BIND 10 trac2086, updated. 6498dfa5915fbca86d839b73490320360111e24e [2086] add one more test

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Jul 9 08:21:12 UTC 2012


The branch, trac2086 has been updated
       via  6498dfa5915fbca86d839b73490320360111e24e (commit)
      from  8eaa01c8bc19861c1ad146f3099e6636cb3d48d4 (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 6498dfa5915fbca86d839b73490320360111e24e
Author: Jelte Jansen <jelte at isc.org>
Date:   Mon Jul 9 10:20:53 2012 +0200

    [2086] add one more test

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

Summary of changes:
 src/lib/dns/tests/labelsequence_unittest.cc |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/lib/dns/tests/labelsequence_unittest.cc b/src/lib/dns/tests/labelsequence_unittest.cc
index 99810db..6aca1b9 100644
--- a/src/lib/dns/tests/labelsequence_unittest.cc
+++ b/src/lib/dns/tests/labelsequence_unittest.cc
@@ -709,7 +709,12 @@ TEST(LabelSequence, rawConstruction) {
               result.getRelation());
 
     s1.stripRight(1);
-    s2.stripRight(1);
+    s3.stripRight(1);
+
+    result = s1.compare(s3);
+    EXPECT_EQ(isc::dns::NameComparisonResult::COMMONANCESTOR,
+              result.getRelation());
+
     data[9] = 'f';
     result = s1.compare(s3);
     EXPECT_EQ(isc::dns::NameComparisonResult::NONE,



More information about the bind10-changes mailing list