mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-26 12:23:04 -04:00
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:
commit
8743a853d2
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue