Skip to content
GitLab
Projects
Groups
Snippets
/
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
d7b4201a
Commit
d7b4201a
authored
Dec 07, 2012
by
Michal 'vorner' Vaner
Browse files
[2377] More broken cases
Some quoted strings where they can't happen and some broken tokens.
parent
3b1307a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dns/tests/master_loader_unittest.cc
View file @
d7b4201a
...
...
@@ -208,6 +208,11 @@ struct ErrorCase {
{
"www 3600 IN A bad_ip"
,
"Invalid Rdata"
},
{
"www 3600 IN"
,
"Unexpected EOLN"
},
{
"www 3600 CH TXT nothing"
,
"Class mismatch"
},
{
"www
\"
3600
\"
IN A 192.0.2.1"
,
"Quoted TTL"
},
{
"www 3600
\"
IN
\"
A 192.0.2.1"
,
"Quoted class"
},
{
"www 3600 IN
\"
A
\"
192.0.2.1"
,
"Quoted type"
},
{
"unbalanced)paren 3600 IN A 192.0.2.1"
,
"Token error 1"
},
{
"www 3600 unbalanced)paren A 192.0.2.1"
,
"Token error 2"
},
{
NULL
,
NULL
}
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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