summaryrefslogtreecommitdiff
path: root/tests/test_dns_recurring.c
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2015-06-10 17:51:22 -0500
committerRichard Mudgett <rmudgett@digium.com>2015-06-10 18:06:14 -0500
commitae589da4662e0a626223cbef05dc53d197a0b16a (patch)
tree9d59972f8c8a4febe456ef0c33e44b794ad133b1 /tests/test_dns_recurring.c
parent83bc9d366d7e8eb78d6935baaab482c34f2c2658 (diff)
DNS: Remove trailing newline from summary and descriptions.
Those trailing newlines mess up test formatting. Change-Id: I5e3f3a55b82c9d7acb9661201d4993d1958f1185
Diffstat (limited to 'tests/test_dns_recurring.c')
-rw-r--r--tests/test_dns_recurring.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/tests/test_dns_recurring.c b/tests/test_dns_recurring.c
index 3d38c645b..84cd9d4fd 100644
--- a/tests/test_dns_recurring.c
+++ b/tests/test_dns_recurring.c
@@ -278,7 +278,7 @@ AST_TEST_DEFINE(recurring_query)
case TEST_INIT:
info->name = "recurring_query";
info->category = "/main/dns/recurring/";
- info->summary = "Test nominal asynchronous recurring DNS queries\n";
+ info->summary = "Test nominal asynchronous recurring DNS queries";
info->description =
"This tests nominal recurring queries in the following ways:\n"
"\t* An asynchronous query is sent to a mock resolver\n"
@@ -286,7 +286,7 @@ AST_TEST_DEFINE(recurring_query)
"\t* We ensure that the query re-occurs according to the lower of the TTLs\n"
"\t* The mock resolver returns two records, this time with different TTLs\n"
"\t from the first time the query was resolved\n"
- "\t* We ensure that the query re-occurs according to the new lower TTL\n";
+ "\t* We ensure that the query re-occurs according to the new lower TTL";
return AST_TEST_NOT_RUN;
case TEST_EXECUTE:
break;
@@ -403,8 +403,7 @@ AST_TEST_DEFINE(recurring_query_off_nominal)
"\t* Attempt resolution with invalid RR type\n",
"\t* Attempt resolution with invalid RR class\n",
"\t* Attempt resolution with NULL callback pointer\n",
- "\t* Attempt resolution with resolver that returns an error\n";
-
+ "\t* Attempt resolution with resolver that returns an error";
return AST_TEST_NOT_RUN;
case TEST_EXECUTE:
break;
@@ -459,11 +458,11 @@ AST_TEST_DEFINE(recurring_query_cancel_between)
case TEST_INIT:
info->name = "recurring_query_cancel_between";
info->category = "/main/dns/recurring/";
- info->summary = "Test canceling a recurring DNS query during the downtime between queries\n";
+ info->summary = "Test canceling a recurring DNS query during the downtime between queries";
info->description = "This test does the following:\n"
"\t* Issue a recurring DNS query.\n"
"\t* Once results have been returned, cancel the recurring query.\n"
- "\t* Wait a while to ensure that no more queries are occurring.\n";
+ "\t* Wait a while to ensure that no more queries are occurring.";
return AST_TEST_NOT_RUN;
case TEST_EXECUTE:
break;
@@ -540,13 +539,13 @@ AST_TEST_DEFINE(recurring_query_cancel_during)
case TEST_INIT:
info->name = "recurring_query_cancel_during";
info->category = "/main/dns/recurring/";
- info->summary = "Cancel a recurring DNS query while a query is actually happening\n";
+ info->summary = "Cancel a recurring DNS query while a query is actually happening";
info->description = "This test does the following:\n"
"\t* Initiate a recurring DNS query.\n"
"\t* Allow the initial query to complete, and a second query to start\n"
"\t* Cancel the recurring query while the second query is executing\n"
"\t* Ensure that the resolver's cancel() method was called\n"
- "\t* Wait a while to make sure that recurring queries are no longer occurring\n";
+ "\t* Wait a while to make sure that recurring queries are no longer occurring";
return AST_TEST_NOT_RUN;
case TEST_EXECUTE:
break;