From 0c5fb8037c0b7576646e4e9e613b7272bb1a6979 Mon Sep 17 00:00:00 2001
From: Leif Madsen <leif@leifmadsen.com>
Date: Wed, 17 Mar 2010 19:06:04 +0000
Subject: [PATCH] main/test.c reports erroneous CLI message.

(closes issue #17051)
Reported by: Nick_Lewis

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@253205 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 main/test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/test.c b/main/test.c
index fd5e5c7289..c5223e6a8f 100644
--- a/main/test.c
+++ b/main/test.c
@@ -708,7 +708,7 @@ static char *test_cli_execute_registered(struct ast_cli_entry *e, int cmd, struc
 			ast_cli(a->fd, "Running all available tests matching category %s\n\n", a->argv[3]);
 			test_execute_multiple(NULL, a->argv[3], a);
 		} else if (a->argc == 6) { /* run only a single test matching the category and name */
-			ast_cli(a->fd, "Running all available tests matching category %s and name %s\n\n", a->argv[5], a->argv[3]);
+			ast_cli(a->fd, "Running all available tests matching category %s and name %s\n\n", a->argv[3], a->argv[5]);
 			test_execute_multiple(a->argv[5], a->argv[3], a);
 		} else {
 			return CLI_SHOWUSAGE;
-- 
GitLab