Merge branch '628-dont-check-for-memory-leaks-in-dnstest.c' into 'master'

Don't check the memory leaks in the libdns tests as they hide the cmocka assertion failures

Closes #628

See merge request isc-projects/bind9!1174
This commit is contained in:
Witold Krecicki 2018-12-04 04:57:38 -05:00
commit 8743a853d2

View file

@ -137,6 +137,9 @@ dns_test_begin(FILE *logfile, bool start_managers) {
INSIST(mctx == NULL);
CHECK(isc_mem_create(0, 0, &mctx));
/* Don't check the memory leaks as they hide the assertions */
isc_mem_setdestroycheck(mctx, false);
INSIST(!dst_active);
CHECK(dst_lib_init(mctx, NULL));
dst_active = true;