[asterisk-commits] seanbright: trunk r239111 - /trunk/main/test.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jan 11 10:22:13 CST 2010


Author: seanbright
Date: Mon Jan 11 10:22:09 2010
New Revision: 239111

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=239111
Log:
Fix spelling of 'category.'

Modified:
    trunk/main/test.c

Modified: trunk/main/test.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/test.c?view=diff&rev=239111&r1=239110&r2=239111
==============================================================================
--- trunk/main/test.c (original)
+++ trunk/main/test.c Mon Jan 11 10:22:09 2010
@@ -201,7 +201,7 @@
 	}
 
 	fprintf(f, "\nName:              %s\n", test->info.name);
-	fprintf(f,   "Catagory:          %s\n", test->info.category);
+	fprintf(f,   "Category:          %s\n", test->info.category);
 	fprintf(f,   "Summary:           %s\n", test->info.summary);
 	fprintf(f,   "Description:       %s\n", test->info.description);
 	fprintf(f,   "Result:            %s\n", test_result2str[test->state]);
@@ -501,7 +501,7 @@
 }
 
 /*!
- * \brief compares two test catagories to determine if cat1 resides in cat2
+ * \brief compares two test categories to determine if cat1 resides in cat2
  * \internal
  *
  * \return 0 if true
@@ -604,7 +604,7 @@
 			((a->argc == 7) && strcmp(a->argv[5], "name"))) {
 			return CLI_SHOWUSAGE;
 		}
-		ast_cli(a->fd, FORMAT, "Name", "Catagory", "Summary", "Test Result");
+		ast_cli(a->fd, FORMAT, "Name", "Category", "Summary", "Test Result");
 		AST_LIST_LOCK(&tests);
 		AST_LIST_TRAVERSE(&tests, test, entry) {
 			if ((a->argc == 4) ||
@@ -721,7 +721,7 @@
 			return CLI_SHOWUSAGE;
 		}
 
-		ast_cli(a->fd, FORMAT_RES_ALL, "Result", "", "Name", "Catagory", "Error Description");
+		ast_cli(a->fd, FORMAT_RES_ALL, "Result", "", "Name", "Category", "Error Description");
 		AST_LIST_LOCK(&tests);
 		AST_LIST_TRAVERSE(&tests, test, entry) {
 			if (test->state == AST_TEST_NOT_RUN) {




More information about the asterisk-commits mailing list