From: Ondřej Surý Date: Fri, 30 Nov 2018 12:02:15 +0000 (+0100) Subject: Don't check the memory leaks in the libdns tests as they hide the cmocka assertion... X-Git-Tag: v9.13.5~14^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ef87b1e60bdcc13f336e0bbce7c1e9b667243479;p=thirdparty%2Fbind9.git Don't check the memory leaks in the libdns tests as they hide the cmocka assertion failures --- diff --git a/lib/dns/tests/dnstest.c b/lib/dns/tests/dnstest.c index c2f927095d9..c1418fa534f 100644 --- a/lib/dns/tests/dnstest.c +++ b/lib/dns/tests/dnstest.c @@ -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;