]> git.ipfire.org Git - thirdparty/bind9.git/commit
Generate comprehensive tests for ZoneAnalyzer utility class
authorPetr Špaček <pspacek@isc.org>
Fri, 23 May 2025 07:07:02 +0000 (09:07 +0200)
committerPetr Špaček <pspacek@isc.org>
Tue, 29 Jul 2025 08:00:45 +0000 (10:00 +0200)
commit42b60a3819ea48ad38fe9bcf5ff1ccfb752315ef
tree40ef9032aba3ffd688401482a9fd666ac82e742f
parentcad48e56ab5e08ccb7bde55948a511538cef2649
Generate comprehensive tests for ZoneAnalyzer utility class

Test all combinations of wildcard, ENT, DNAME, NS, and ordinary
TXT records.

Test zone and expected outputs are generated by another script which
encodes node content into node name. This encoding removes 'node
content' level of indirection and thus enables simpler implementation of
same logic which needs to be in ZoneAnalyzer itself.

For humans the generated zone file also lists expected 'categories' a
name belongs to as dot-separated list on right hand side of a generated
RR.
bin/tests/system/selftest/analyzer.db [deleted file]
bin/tests/system/selftest/tests_zone_analyzer.py