Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
d75a744f
Commit
d75a744f
authored
Jul 24, 2012
by
Mukund Sivaraman
Browse files
[2124] Add another wiredata test with short fingerprint data
parent
6efceeee
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/lib/dns/tests/rdata_sshfp_unittest.cc
View file @
d75a744f
...
...
@@ -122,6 +122,10 @@ TEST_F(Rdata_SSHFP_Test, createFromWire) {
// algorithm=255, fingerprint=255
EXPECT_NO_THROW
(
rdataFactoryFromFile
(
RRType
(
"SSHFP"
),
RRClass
(
"IN"
),
"rdata_sshfp_fromWire7.wire"
));
// short fingerprint data
EXPECT_NO_THROW
(
rdataFactoryFromFile
(
RRType
(
"SSHFP"
),
RRClass
(
"IN"
),
"rdata_sshfp_fromWire8.wire"
));
}
TEST_F
(
Rdata_SSHFP_Test
,
toText
)
{
...
...
src/lib/dns/tests/testdata/.gitignore
View file @
d75a744f
...
...
@@ -84,6 +84,7 @@
/rdata_sshfp_fromWire5.wire
/rdata_sshfp_fromWire6.wire
/rdata_sshfp_fromWire7.wire
/rdata_sshfp_fromWire8.wire
/rdata_tsig_fromWire1.wire
/rdata_tsig_fromWire2.wire
/rdata_tsig_fromWire3.wire
...
...
src/lib/dns/tests/testdata/Makefile.am
View file @
d75a744f
...
...
@@ -47,7 +47,7 @@ BUILT_SOURCES += rdata_rp_toWire1.wire rdata_rp_toWire2.wire
BUILT_SOURCES
+=
rdata_sshfp_fromWire1.wire rdata_sshfp_fromWire2.wire
BUILT_SOURCES
+=
rdata_sshfp_fromWire3.wire rdata_sshfp_fromWire4.wire
BUILT_SOURCES
+=
rdata_sshfp_fromWire5.wire rdata_sshfp_fromWire6.wire
BUILT_SOURCES
+=
rdata_sshfp_fromWire7.wire
BUILT_SOURCES
+=
rdata_sshfp_fromWire7.wire
rdata_sshfp_fromWire8.wire
BUILT_SOURCES
+=
rdata_afsdb_fromWire1.wire rdata_afsdb_fromWire2.wire
BUILT_SOURCES
+=
rdata_afsdb_fromWire3.wire rdata_afsdb_fromWire4.wire
BUILT_SOURCES
+=
rdata_afsdb_fromWire5.wire
...
...
@@ -134,7 +134,7 @@ EXTRA_DIST += rdata_sshfp_fromWire rdata_sshfp_fromWire2
EXTRA_DIST
+=
rdata_sshfp_fromWire1.spec rdata_sshfp_fromWire2.spec
EXTRA_DIST
+=
rdata_sshfp_fromWire3.spec rdata_sshfp_fromWire4.spec
EXTRA_DIST
+=
rdata_sshfp_fromWire5.spec rdata_sshfp_fromWire6.spec
EXTRA_DIST
+=
rdata_sshfp_fromWire7.spec
EXTRA_DIST
+=
rdata_sshfp_fromWire7.spec
rdata_sshfp_fromWire8.spec
EXTRA_DIST
+=
rdata_afsdb_fromWire1.spec rdata_afsdb_fromWire2.spec
EXTRA_DIST
+=
rdata_afsdb_fromWire3.spec rdata_afsdb_fromWire4.spec
EXTRA_DIST
+=
rdata_afsdb_fromWire5.spec
...
...
src/lib/dns/tests/testdata/rdata_sshfp_fromWire8.spec
0 → 100644
View file @
d75a744f
#
# SSHFP RDATA
#
[custom]
sections: sshfp
[sshfp]
fingerprint: 082359342fd9
algorithm: 255
fingerprint_type: 255
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment