mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-29 13:07:50 +00:00
[2428] Test two more error cases
Shorter and longer version of INCLUDE.
This commit is contained in:
parent
58664e2ecc
commit
bb1f38e03f
@ -283,6 +283,8 @@ struct ErrorCase {
|
|||||||
// Check the unknown directive. The rest looks like ordinary RR,
|
// Check the unknown directive. The rest looks like ordinary RR,
|
||||||
// so we see the $ is actually special.
|
// so we see the $ is actually special.
|
||||||
{ "$UNKNOWN 3600 IN A 192.0.2.1", "Unknown $ directive" },
|
{ "$UNKNOWN 3600 IN A 192.0.2.1", "Unknown $ directive" },
|
||||||
|
{ "$INCLUD " TEST_DATA_SRCDIR "/example.org", "Include too short" },
|
||||||
|
{ "$INCLUDES " TEST_DATA_SRCDIR "/example.org", "Include too short" },
|
||||||
{ "$INCLUDE", "Missing include path" },
|
{ "$INCLUDE", "Missing include path" },
|
||||||
{ "$INCLUDE /file/not/found", "Include file not found" },
|
{ "$INCLUDE /file/not/found", "Include file not found" },
|
||||||
{ "$INCLUDE /file/not/found and here goes bunch of garbage",
|
{ "$INCLUDE /file/not/found and here goes bunch of garbage",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user