summaryrefslogtreecommitdiff
path: root/lib/event_test.c
diff options
context:
space:
mode:
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();
}