2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

Reset errcnt at the start of each subtest

This commit is contained in:
Mark Andrews
2021-06-03 19:31:34 +10:00
parent 1e84ebd2f8
commit 3945c289bb

View File

@@ -113,6 +113,8 @@ setup_test(isc_timertype_t timertype, isc_time_t *expires,
isc_condition_init(&cv);
atomic_store(&errcnt, ISC_R_SUCCESS);
LOCK(&mx);
result = isc_task_create(taskmgr, 0, &task);