aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-05-20 09:17:20 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2011-05-20 09:17:20 +0300
commitd253fa956809a1497583212109d33fd4f1a05b31 (patch)
treebf48aced94192d54b49ac09755ed2e6d88514d70 /tests
parentbcab0df28d7e87f99da29a32327787c25261273e (diff)
downloadgrecs-d253fa956809a1497583212109d33fd4f1a05b31.tar.gz
grecs-d253fa956809a1497583212109d33fd4f1a05b31.tar.bz2
Fix bind parser.
* src/bind-gram.y: Special handling for the controls block. * src/bind-lex.l: Handle "controls" separately. * src/lookup.c (grecs_find_node): Handle single dot path (root node). (grecs_match_first): Likewise. (grecs_match_next): Return NULL if buf is NULL. * tests/parser-bind.at: Update.
Diffstat (limited to 'tests')
-rw-r--r--tests/parser-bind.at2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/parser-bind.at b/tests/parser-bind.at
index b7ae3e1..0c6c5bd 100644
--- a/tests/parser-bind.at
+++ b/tests/parser-bind.at
@@ -72,7 +72,7 @@ AT_CHECK([gcffmt -type=bind -I$abs_srcdir $abs_srcdir/bind.conf|sed 's/ *$//'],
.logging.category="notify".notify_channel:
.key="rndc-key".algorithm: "hmac-md5"
.key="rndc-key".secret: "1111111111111111111111=="
-.controls.inet: "127.0.0.1" "port" "953" "allow" ("127.0.0.1") "keys" ("rndc-key")
+.controls: ("inet", "127.0.0.1", "port", "953", "allow", ("127.0.0.1"), "keys", ("rndc-key"))
.view="internal".match-clients.10.0.0.0/8:
.view="internal".zone="int".type: "master"
.view="internal".zone="int".file: "int.p"

Return to:

Send suggestions and report system problems to the System administrator.