diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-05-16 19:31:53 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-05-16 19:31:53 +0300 |
commit | c8865a0d524f3d545836bd4581329089a357661e (patch) | |
tree | 4fc437a07086c4304e7ec2446be2a504a3dbd507 /tests/bind.ext.conf | |
parent | 50e703a9a92e755f928699b705612cd4153ffb9f (diff) | |
download | grecs-c8865a0d524f3d545836bd4581329089a357661e.tar.gz grecs-c8865a0d524f3d545836bd4581329089a357661e.tar.bz2 |
Add bind testsuite.
* README.submodule: Update URL.
* src/bind-lex.l (grecs_bind_new_source): Scan include path.
* src/grecs.h (grecs_find_include_file): new proto.
* src/preproc.c (try_file): Rename to grecs_find_include_file. Change
signature and return type. All uses updated.
* tests/Makefile.am (EXTRA_DIST): Add new configs.
(TESTSUITE_AT): Add parser-bind.at.
* tests/gcffmt.c: Add -I (-include) option.
* tests/testsuite.at: Include parser-bind.at.
* tests/bind.conf: New file.
* tests/bind.dlz: New file.
* tests/bind.ext.conf: New file.
* tests/bind.int.conf: New file.
* tests/bind.keys: New file.
* tests/parser-bind.at: New file.
Diffstat (limited to 'tests/bind.ext.conf')
-rw-r--r-- | tests/bind.ext.conf | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/bind.ext.conf b/tests/bind.ext.conf new file mode 100644 index 0000000..b18e8f6 --- /dev/null +++ b/tests/bind.ext.conf | |||
@@ -0,0 +1,25 @@ | |||
1 | # Sample Bind configuration include file (2) for Grecs testsuite. | ||
2 | |||
3 | zone "." { | ||
4 | type hint; | ||
5 | file "named.root"; | ||
6 | }; | ||
7 | |||
8 | zone "com" { | ||
9 | type delegation-only; | ||
10 | }; | ||
11 | |||
12 | zone "net" { | ||
13 | type delegation-only; | ||
14 | }; | ||
15 | |||
16 | zone "0.0.127.IN-ADDR.ARPA" { | ||
17 | type master; | ||
18 | file "local.p"; | ||
19 | }; | ||
20 | |||
21 | zone "foo.example.net" { | ||
22 | type master; | ||
23 | file "foo.p"; | ||
24 | }; | ||
25 | \ No newline at end of file | ||