From d2597e349639c83152c1b2c4812ade0542e7a448 Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Fri, 4 Feb 2022 16:52:22 -0800 Subject: [PATCH] support $INCLUDE in makejournal bin/tests/system/makejournal needs to ignore DNS_R_SEENINCLUDE when calling dns_db_load(), otherwise it cannot generate a journal for a zone file with a $INCLUDE statement. --- bin/tests/system/makejournal.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/tests/system/makejournal.c b/bin/tests/system/makejournal.c index 63caa9ade6..1a7c43581a 100644 --- a/bin/tests/system/makejournal.c +++ b/bin/tests/system/makejournal.c @@ -75,6 +75,9 @@ loadzone(dns_db_t **db, const char *origin, const char *filename) { } result = dns_db_load(*db, filename, dns_masterformat_text, 0); + if (result == DNS_R_SEENINCLUDE) { + result = ISC_R_SUCCESS; + } return (result); }