From 1c2facd12df7bc27758d7ea674b1e57e401fc234 Mon Sep 17 00:00:00 2001 From: Renato Westphal Date: Thu, 7 Dec 2017 17:31:48 -0200 Subject: lib: introduce new northbound API Signed-off-by: Renato Westphal --- tests/lib/cli/test_commands.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/lib/cli/test_commands.c') diff --git a/tests/lib/cli/test_commands.c b/tests/lib/cli/test_commands.c index a8b42ba789..74816ece8c 100644 --- a/tests/lib/cli/test_commands.c +++ b/tests/lib/cli/test_commands.c @@ -142,6 +142,8 @@ static void test_init(void) struct cmd_element *cmd; cmd_init(1); + yang_init(); + nb_init(NULL, 0); install_node(&bgp_node, NULL); install_node(&rip_node, NULL); @@ -184,6 +186,8 @@ static void test_terminate(void) XFREE(MTYPE_TMP, vector_slot(test_cmds, i)); vector_free(test_cmds); cmd_terminate(); + nb_terminate(); + yang_terminate(); } static void test_run(struct prng *prng, struct vty *vty, const char *cmd, -- cgit v1.2.3