From f8f4aec3b0c976c6b933770cfac36b21ca7f06bb Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Tue, 20 Apr 2021 05:36:30 +0200 Subject: tests/lib/cli: allow using YANG modules Since the common CLI code calls nb_init, allow specifying some modules to load by overriding test_yang_models. Signed-off-by: David Lamparter --- tests/lib/cli/common_cli.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/lib/cli/common_cli.h') diff --git a/tests/lib/cli/common_cli.h b/tests/lib/cli/common_cli.h index 15abe3b855..3042ff5b12 100644 --- a/tests/lib/cli/common_cli.h +++ b/tests/lib/cli/common_cli.h @@ -25,6 +25,9 @@ #include "zebra.h" #include "vty.h" #include "command.h" +#include "northbound.h" + +extern const struct frr_yang_module_info *const *test_yang_modules; /* function to be implemented by test */ extern void test_init(int argc, char **argv); -- cgit v1.2.3