]> 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:42:13 +0000 (09:42 -0700)
commitf7a84380dd18c9bba01ea83952869ebbf668b02f
tree2b555c5f30060d55f628ef90432b8b23b2f25cbe
parent1eec107a94d70e33b57cfe663a42db7a3f649168
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)
(cherry picked from commit 7193496b6e72d2258fc71fa775f574a606b73ca9)
lib/dns/tests/dnstest.c
lib/dns/tests/dnstest.h