[svn-commits] kpfleming: trunk r191997 - in /trunk/tests: test_sched.c test_skel.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon May 4 07:52:47 CDT 2009


Author: kpfleming
Date: Mon May  4 07:52:44 2009
New Revision: 191997

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=191997
Log:
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


Modified:
    trunk/tests/test_sched.c
    trunk/tests/test_skel.c

Modified: trunk/tests/test_sched.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/tests/test_sched.c?view=diff&rev=191997&r1=191996&r2=191997
==============================================================================
--- trunk/tests/test_sched.c (original)
+++ trunk/tests/test_sched.c Mon May  4 07:52:44 2009
@@ -168,7 +168,7 @@
 	case CLI_INIT:
 		e->command = "sched benchmark";
 		e->usage = ""
-			"Usage: sched test <num>\n"
+			"Usage: sched benchmark <num>\n"
 			"";
 		return NULL;
 	case CLI_GENERATE:

Modified: trunk/tests/test_skel.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/tests/test_skel.c?view=diff&rev=191997&r1=191996&r2=191997
==============================================================================
--- trunk/tests/test_skel.c (original)
+++ trunk/tests/test_skel.c Mon May  4 07:52:44 2009
@@ -40,6 +40,7 @@
 #include "asterisk/module.h"
 #include "asterisk/lock.h"
 #include "asterisk/app.h"
+#include "asterisk/cli.h"
 
 static int unload_module(void)
 {




More information about the svn-commits mailing list