From: Kevin P. Fleming Date: Mon, 4 May 2009 12:52:44 +0000 (+0000) Subject: Minor changes in test modules X-Git-Tag: 11.0.0-beta1~4947 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=995d03a235cf4f6ae64aa1bc785fa3038c34f71d;p=thirdparty%2Fasterisk.git 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 --- 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) {