BIND 10 #174: Loadzone: Make a collection of zone files to test loadzone
BIND 10 Development
do-not-reply at isc.org
Thu May 6 12:34:23 UTC 2010
#174: Loadzone: Make a collection of zone files to test loadzone
------------------------+---------------------------------------------------
Reporter: zhanglikun | Owner: zhanglikun
Type: task | Status: new
Priority: major | Milestone: 04. 2nd Incremental Release
Component: loadzone | Keywords:
Sensitive: 0 |
------------------------+---------------------------------------------------
Create ticket for task 88. The following part is the concreate description
of task 88 provided by Jeremy in one email.
> task 88: loadzone test suite of different file formats to load
>
> Question: Does it mean to design different types of zone files in
> correct or wrong format, to test loadzone?
It is worded wrong. It is not about different file formats to load, but
about loading different RFC1035 master file format zone files. Some
containing correct zones and some containing deliberate errors (like
impossible TTLs or bogus RDATA of wrong format, et cetera).
I believe the goal is to make a collection of many zone files and a way to
use them for testing.
BIND 9 source contains many zone files. I think they are all named "*.db"
under bin/tests/. Maybe these can give some ideas and maybe some or all
can be re-used. You can also collect and create your own zone data.
Consider to document somewhere (maybe the files themselves) what they
contain and expected behaviour.
Also need some way to test using those master files. I think Cucumber will
be used in the long run. But for now, maybe some simple shell or python
scripts to load the files and check the results: verbose output (see task
89), store and compare sqlite text dumps, or maybe even real queries.
--
Ticket URL: <https://bind10.isc.org/ticket/174>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list