BIND 10 trac3287, updated. c1187e4ae7d409c94a73e6b10fa00751d302e05d [3287] Update test to use sizeof instead of hardcoded length
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Jan 14 11:55:48 UTC 2014
The branch, trac3287 has been updated
via c1187e4ae7d409c94a73e6b10fa00751d302e05d (commit)
from e71ef05f8698763d2e604a55aa7e39ac824241d8 (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 c1187e4ae7d409c94a73e6b10fa00751d302e05d
Author: Mukund Sivaraman <muks at isc.org>
Date: Tue Jan 14 17:25:19 2014 +0530
[3287] Update test to use sizeof instead of hardcoded length
-----------------------------------------------------------------------
Summary of changes:
src/lib/dns/tests/rdata_sshfp_unittest.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
-----------------------------------------------------------------------
diff --git a/src/lib/dns/tests/rdata_sshfp_unittest.cc b/src/lib/dns/tests/rdata_sshfp_unittest.cc
index 9ae2396..a327557 100644
--- a/src/lib/dns/tests/rdata_sshfp_unittest.cc
+++ b/src/lib/dns/tests/rdata_sshfp_unittest.cc
@@ -227,7 +227,8 @@ TEST_F(Rdata_SSHFP_Test, toWire) {
this->obuffer.clear();
rdata_sshfp.toWire(this->obuffer);
- EXPECT_EQ(22, this->obuffer.getLength());
+ EXPECT_EQ(sizeof (rdata_sshfp_wiredata),
+ this->obuffer.getLength());
EXPECT_PRED_FORMAT4(UnitTestUtil::matchWireData,
this->obuffer.getData(),
More information about the bind10-changes
mailing list