diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2009-05-04 12:52:44 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2009-05-04 12:52:44 +0000 |
commit | 995d03a235cf4f6ae64aa1bc785fa3038c34f71d (patch) | |
tree | 13a5990c9cca1222b9c517edb0a75b9f7e0b3153 /tests | |
parent | f7e4f776eafa205440cba7c0009f3a77adcd3e04 (diff) |
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
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_sched.c | 2 | ||||
-rw-r--r-- | tests/test_skel.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_sched.c b/tests/test_sched.c index afbb75949..f172ee9ce 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 <num>\n" + "Usage: sched benchmark <num>\n" ""; return NULL; case CLI_GENERATE: diff --git a/tests/test_skel.c b/tests/test_skel.c index 9f8008658..86a1758ac 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) { |