summaryrefslogtreecommitdiff
path: root/tests/lib/cli/common_cli.c
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-11-09 13:55:44 +0300
committerGitHub <noreply@github.com>2021-11-09 13:55:44 +0300
commitb6380d60c78639941192c2194269fc1c21b6db81 (patch)
treec92de61d32a44754e02d9495c265aada09c0986b /tests/lib/cli/common_cli.c
parentd630e21a0bde7fcaf0a7621fbe6c2ab0492c9a7f (diff)
parent14ae4f17a8b9162645eb120dd5e64532527a32ee (diff)
Merge pull request #9996 from opensourcerouting/resolver-fix-threads
lib: fix `struct thread **` misuse in c-ares resolver bindings
Diffstat (limited to 'tests/lib/cli/common_cli.c')
-rw-r--r--tests/lib/cli/common_cli.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/cli/common_cli.c b/tests/lib/cli/common_cli.c
index 8be81cc4cb..7c9febe2ca 100644
--- a/tests/lib/cli/common_cli.c
+++ b/tests/lib/cli/common_cli.c
@@ -60,6 +60,7 @@ static void vty_do_exit(int isexit)
}
const struct frr_yang_module_info *const *test_yang_modules = NULL;
+int test_log_prio = ZLOG_DISABLED;
/* main routine. */
int main(int argc, char **argv)
@@ -73,7 +74,7 @@ int main(int argc, char **argv)
/* master init. */
master = thread_master_create(NULL);
- zlog_aux_init("NONE: ", ZLOG_DISABLED);
+ zlog_aux_init("NONE: ", test_log_prio);
/* Library inits. */
cmd_init(1);