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

Introducing an universal temporary linpool flushed after every task

This commit is contained in:
Maria Matejka
2022-03-02 10:35:21 +01:00
parent 2e8b8bfcc4
commit 48bf1322aa
9 changed files with 41 additions and 4 deletions

View File

@@ -119,6 +119,8 @@ bt_init(int argc, char *argv[])
clock_gettime(CLOCK_MONOTONIC, &bt_begin);
bt_suite_case_begin = bt_suite_begin = bt_begin;
resource_init();
return;
usage:
@@ -172,6 +174,8 @@ int bt_run_test_fn(int (*fn)(const void *), const void *fn_arg, int timeout)
if (!bt_suite_result)
result = 0;
tmp_flush();
return result;
}

View File

@@ -60,7 +60,6 @@ bt_bird_init(void)
log_init_debug("");
log_switch(bt_verbose != 0, NULL, NULL);
resource_init();
olock_init();
timer_init();
io_init();