summaryrefslogtreecommitdiff
path: root/main/test.c
diff options
context:
space:
mode:
authorSean Bright <sean@malleable.com>2010-01-11 16:22:09 +0000
committerSean Bright <sean@malleable.com>2010-01-11 16:22:09 +0000
commit1ad299911278142389f7fe8cc6df006f9e8d3d1c (patch)
treec8eed661bb74f8bb591cf1c845ed21cc86fd7fb7 /main/test.c
parent9c1b53cab4b0e72c17f6054877ed0e2fe83c5367 (diff)
Fix spelling of 'category.'
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@239111 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/test.c')
-rw-r--r--main/test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/test.c b/main/test.c
index 3e5f155a2..604574b05 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) {