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.
This commit is contained in:
Evan Hunt 2022-02-04 16:52:22 -08:00
parent c3fd94cd4d
commit d2597e3496

View file

@ -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);
}