From a299d6511486dc384af920592f1ff8488e8fcf0c Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Wed, 14 Aug 2019 19:11:10 +0200 Subject: Replace own timer infra with libosmocore osmo_tdef VTY command "show timer" is also available now. Change-Id: Ia0cf5f0a49737fbc419e2ccc86312d01c6e0056e --- tests/sgsn/sgsn_test.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests') diff --git a/tests/sgsn/sgsn_test.c b/tests/sgsn/sgsn_test.c index 23cb4fbc4..cc25d47ff 100644 --- a/tests/sgsn/sgsn_test.c +++ b/tests/sgsn/sgsn_test.c @@ -37,6 +37,7 @@ #include #include #include +#include #include @@ -1646,6 +1647,10 @@ static struct log_info info = { .num_cat = ARRAY_SIZE(gprs_categories), }; +static struct vty_app_info vty_info = { + .name = "testSGSN", +}; + int main(int argc, char **argv) { void *osmo_sgsn_ctx; @@ -1659,6 +1664,8 @@ int main(int argc, char **argv) sgsn_rate_ctr_init(); sgsn_auth_init(sgsn); gprs_subscr_init(sgsn); + vty_init(&vty_info); + sgsn_vty_init(&sgsn->cfg); test_llme(); test_subscriber(); -- cgit v1.2.3