summaryrefslogtreecommitdiff
path: root/lib/event_test.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-07-18 12:33:00 +0200
committerMaria Matejka <mq@ucw.cz>2022-07-18 12:33:00 +0200
commit08c84846089a131a0e7e9e0185b6c6ccb4ed4e2d (patch)
treebcf82552565dcdb0c5e722a0bb837b1e948ed955 /lib/event_test.c
parent4b6f5ee8709b2fae9da13c58bfbae21b84cd40c5 (diff)
parent94eb0858c2b938549d9d1703c872c6149901e7dd (diff)
Merge commit '94eb0858' into thread-next
Diffstat (limited to 'lib/event_test.c')
-rw-r--r--lib/event_test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/event_test.c b/lib/event_test.c
index 3070327d..5385011a 100644
--- a/lib/event_test.c
+++ b/lib/event_test.c
@@ -54,7 +54,7 @@ t_ev_run_list(void)
int i;
olock_init();
- timer_init();
+ birdloop_init();
rt_init();
io_init();
if_init();
@@ -81,7 +81,9 @@ main(int argc, char *argv[])
{
bt_init(argc, argv);
+ the_bird_lock();
bt_test_suite(t_ev_run_list, "Schedule and run 3 events in right order.");
+ the_bird_unlock();
return bt_exit_value();
}