From 995d03a235cf4f6ae64aa1bc785fa3038c34f71d Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Mon, 4 May 2009 12:52:44 +0000 Subject: [PATCH] Minor changes in test modules Correct command description in test_sched.c and include asterisk/cli.h in test_skel.c, since it's highly unlikely that a test module will *not* want to provide CLI commands to execute the tests git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@191997 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- tests/test_sched.c | 2 +- tests/test_skel.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_sched.c b/tests/test_sched.c index afbb759491..f172ee9ce1 100644 --- a/tests/test_sched.c +++ b/tests/test_sched.c @@ -168,7 +168,7 @@ static char *handle_cli_sched_bench(struct ast_cli_entry *e, int cmd, struct ast case CLI_INIT: e->command = "sched benchmark"; e->usage = "" - "Usage: sched test \n" + "Usage: sched benchmark \n" ""; return NULL; case CLI_GENERATE: diff --git a/tests/test_skel.c b/tests/test_skel.c index 9f80086588..86a1758acf 100644 --- a/tests/test_skel.c +++ b/tests/test_skel.c @@ -40,6 +40,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/module.h" #include "asterisk/lock.h" #include "asterisk/app.h" +#include "asterisk/cli.h" static int unload_module(void) { -- 2.47.3