Minor changes in test modules
authorKevin P. Fleming <kpfleming@digium.com>
Mon, 4 May 2009 12:52:44 +0000 (12:52 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Mon, 4 May 2009 12:52:44 +0000 (12:52 +0000)
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
tests/test_skel.c

index afbb759..f172ee9 100644 (file)
@@ -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:
index 9f80086..86a1758 100644 (file)
@@ -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)
 {