From 1ad299911278142389f7fe8cc6df006f9e8d3d1c Mon Sep 17 00:00:00 2001
From: Sean Bright <sean@malleable.com>
Date: Mon, 11 Jan 2010 16:22:09 +0000
Subject: [PATCH] Fix spelling of 'category.'

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@239111 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 main/test.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/main/test.c b/main/test.c
index 3e5f155a28..604574b057 100644
--- a/main/test.c
+++ b/main/test.c
@@ -201,7 +201,7 @@ static void test_txt_entry(struct ast_test *test, FILE *f)
 	}
 
 	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 @@ static struct ast_test *test_remove(ast_test_cb_t *cb)
 }
 
 /*!
- * \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 @@ static char *test_cli_show_registered(struct ast_cli_entry *e, int cmd, struct a
 			((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 @@ static char *test_cli_show_results(struct ast_cli_entry *e, int cmd, struct ast_
 			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) {
-- 
GitLab