diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2017-12-07 17:31:48 -0200 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2018-10-27 16:16:12 -0200 |
| commit | 1c2facd12df7bc27758d7ea674b1e57e401fc234 (patch) | |
| tree | b82aeb06586c2c7b380420ddd484964af915aee1 /tests/lib/cli/test_commands.c | |
| parent | 75082dafb5a929b99d89c8f55e6b2da3f4d90100 (diff) | |
lib: introduce new northbound API
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'tests/lib/cli/test_commands.c')
| -rw-r--r-- | tests/lib/cli/test_commands.c | 4 |
1 files changed, 4 insertions, 0 deletions
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, |
