Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Osuchowski
Kea
Commits
ada43547
Commit
ada43547
authored
Feb 03, 2014
by
Mukund Sivaraman
Browse files
[2430] Fix uppercase nibble test
(Was broken due to a bad copy and paste.)
parent
79c9b753
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dns/tests/master_loader_unittest.cc
View file @
ada43547
...
...
@@ -522,7 +522,7 @@ TEST_F(MasterLoaderTest, generateWithModifiers) {
// number of labels as width=8 above.
"$GENERATE 94-96 ${0,7,n} A 192.0.2.$
\n
"
// Uppercase nibble
"$GENERATE 98-98 ${0,10,
n
} A 192.0.2.$
\n
"
"$GENERATE 98-98 ${0,10,
N
} A 192.0.2.$
\n
"
// Junk type will not parse and 'd' is assumed.
"$GENERATE 100-101 host${0,4,j} A 192.0.2.$
\n
"
;
stringstream
ss
(
input
);
...
...
@@ -558,8 +558,8 @@ TEST_F(MasterLoaderTest, generateWithModifiers) {
checkRR
(
"b.5.0.0.example.org"
,
RRType
::
A
(),
"192.0.2.91"
);
checkRR
(
"c.5.0.0.example.org"
,
RRType
::
A
(),
"192.0.2.92"
);
checkRR
(
"
e
.5.0.0.example.org"
,
RRType
::
A
(),
"192.0.2.94"
);
checkRR
(
"
f
.5.0.0.example.org"
,
RRType
::
A
(),
"192.0.2.95"
);
checkRR
(
"
E
.5.0.0.example.org"
,
RRType
::
A
(),
"192.0.2.94"
);
checkRR
(
"
F
.5.0.0.example.org"
,
RRType
::
A
(),
"192.0.2.95"
);
checkRR
(
"0.6.0.0.example.org"
,
RRType
::
A
(),
"192.0.2.96"
);
checkRR
(
"2.6.0.0.0.example.org"
,
RRType
::
A
(),
"192.0.2.98"
);
...
...
Write
Preview
Supports
Markdown
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