]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add a helper function to facilitate preparing dns_diff_t structures
authorMichał Kępień <michal@isc.org>
Tue, 13 Mar 2018 13:06:06 +0000 (14:06 +0100)
committerEvan Hunt <each@isc.org>
Thu, 10 May 2018 16:24:15 +0000 (09:24 -0700)
commit7193496b6e72d2258fc71fa775f574a606b73ca9
treeb59d2f1dec3f39cdfe2e983551a10e44911273f3
parent94caf8ebdb0b0af37b1a594a5ce78ba9ceeb084e
Add a helper function to facilitate preparing dns_diff_t structures

Implement dns_test_difffromchanges(), a function which enables preparing
a dns_diff_t structure from a mostly-textual representation of zone
database changes to be applied.  This will improve readability of test
case definitions by allowing contents of a dns_diff_t structure, passed
e.g. to update_sigs(), to be represented in a human-friendly manner.

(cherry picked from commit 3c22af0d35ada9f83557845d481ef1c9257ae383)
(cherry picked from commit d4c603eb8ac7c663d3fb5063259067d9f4600968)
(cherry picked from commit 1f454b8d91bff9ecb70307557d1a30e24cd6dc44)
lib/dns/tests/dnstest.c
lib/dns/tests/dnstest.h