1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Fixed resource initialization in unit tests

This commit is contained in:
Maria Matejka
2022-03-09 10:30:03 +01:00
parent b90c9b164f
commit 9e60a1fbc3
9 changed files with 4 additions and 26 deletions

View File

@@ -20,6 +20,7 @@
#include "test/birdtest.h"
#include "lib/string.h"
#include "lib/event.h"
#ifdef HAVE_EXECINFO_H
#include <execinfo.h>
@@ -120,6 +121,7 @@ bt_init(int argc, char *argv[])
bt_suite_case_begin = bt_suite_begin = bt_begin;
resource_init();
ev_init_list(&global_event_list);
return;