summaryrefslogtreecommitdiff
path: root/tests/lib/cli/test_commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/cli/test_commands.c')
-rw-r--r--tests/lib/cli/test_commands.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/lib/cli/test_commands.c b/tests/lib/cli/test_commands.c
index ea84120fc1..9873383fdc 100644
--- a/tests/lib/cli/test_commands.c
+++ b/tests/lib/cli/test_commands.c
@@ -21,6 +21,7 @@
#include <stdlib.h>
#include <unistd.h>
+#include "debug.h"
#include "command.h"
#include "memory.h"
#include "vector.h"
@@ -195,7 +196,8 @@ static void test_init(void)
struct cmd_element *cmd;
cmd_init(1);
- nb_init(master, NULL, 0, false);
+ debug_init();
+ nb_init(master, NULL, 0, false, false);
install_node(&bgp_node);
install_node(&rip_node);