mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 18:58:22 +00:00
Fix spelling of 'category.'
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@239111 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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, "\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, "Summary: %s\n", test->info.summary);
|
||||||
fprintf(f, "Description: %s\n", test->info.description);
|
fprintf(f, "Description: %s\n", test->info.description);
|
||||||
fprintf(f, "Result: %s\n", test_result2str[test->state]);
|
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
|
* \internal
|
||||||
*
|
*
|
||||||
* \return 0 if true
|
* \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"))) {
|
((a->argc == 7) && strcmp(a->argv[5], "name"))) {
|
||||||
return CLI_SHOWUSAGE;
|
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_LOCK(&tests);
|
||||||
AST_LIST_TRAVERSE(&tests, test, entry) {
|
AST_LIST_TRAVERSE(&tests, test, entry) {
|
||||||
if ((a->argc == 4) ||
|
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;
|
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_LOCK(&tests);
|
||||||
AST_LIST_TRAVERSE(&tests, test, entry) {
|
AST_LIST_TRAVERSE(&tests, test, entry) {
|
||||||
if (test->state == AST_TEST_NOT_RUN) {
|
if (test->state == AST_TEST_NOT_RUN) {
|
||||||
|
Reference in New Issue
Block a user