From da8450323f9d391737bfeff42306905b27419942 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Fri, 9 Jul 2010 17:00:22 +0000 Subject: Kill some startup warnings and errors and make some messages more helpful in tracking down the source. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@275105 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_iax2.c | 4 ++-- channels/chan_sip.c | 2 +- channels/sip/config_parser.c | 4 ++-- channels/sip/dialplan_functions.c | 2 +- channels/sip/reqresp_parser.c | 16 ++++++++-------- 5 files changed, 14 insertions(+), 14 deletions(-) (limited to 'channels') diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 7880e719d..7db021581 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -13887,7 +13887,7 @@ AST_TEST_DEFINE(test_iax2_peers_get) switch (cmd) { case TEST_INIT: info->name = "iax2_peers_get_data_test"; - info->category = "main/data/iax2/peers"; + info->category = "/main/data/iax2/peers/"; info->summary = "IAX2 peers data providers unit test"; info->description = "Tests whether the IAX2 peers data provider implementation works as expected."; @@ -13947,7 +13947,7 @@ AST_TEST_DEFINE(test_iax2_users_get) switch (cmd) { case TEST_INIT: info->name = "iax2_users_get_data_test"; - info->category = "main/data/iax2/users"; + info->category = "/main/data/iax2/users/"; info->summary = "IAX2 users data providers unit test"; info->description = "Tests whether the IAX2 users data provider implementation works as expected."; diff --git a/channels/chan_sip.c b/channels/chan_sip.c index ad6e00ab2..a93dea2b8 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -27673,7 +27673,7 @@ AST_TEST_DEFINE(test_sip_peers_get) switch (cmd) { case TEST_INIT: info->name = "sip_peers_get_data_test"; - info->category = "main/data/sip/peers"; + info->category = "/main/data/sip/peers/"; info->summary = "SIP peers data providers unit test"; info->description = "Tests whether the SIP peers data provider implementation works as expected."; diff --git a/channels/sip/config_parser.c b/channels/sip/config_parser.c index 988231f12..659e8cecc 100644 --- a/channels/sip/config_parser.c +++ b/channels/sip/config_parser.c @@ -288,7 +288,7 @@ AST_TEST_DEFINE(sip_parse_register_line_test) switch (cmd) { case TEST_INIT: info->name = "sip_parse_register_line_test"; - info->category = "channels/chan_sip/"; + info->category = "/channels/chan_sip/"; info->summary = "tests sip register line parsing"; info->description = "Tests parsing of various register line configurations. " @@ -696,7 +696,7 @@ AST_TEST_DEFINE(sip_parse_host_line_test) switch (cmd) { case TEST_INIT: info->name = "sip_parse_host_line_test"; - info->category = "channels/chan_sip/"; + info->category = "/channels/chan_sip/"; info->summary = "tests sip.conf host line parsing"; info->description = "Tests parsing of various host line configurations. " diff --git a/channels/sip/dialplan_functions.c b/channels/sip/dialplan_functions.c index 6e1f65b84..e14975d5d 100644 --- a/channels/sip/dialplan_functions.c +++ b/channels/sip/dialplan_functions.c @@ -316,7 +316,7 @@ AST_TEST_DEFINE(test_sip_rtpqos_1) switch (cmd) { case TEST_INIT: info->name = "test_sip_rtpqos"; - info->category = "channels/chan_sip/"; + info->category = "/channels/chan_sip/"; info->summary = "Test retrieval of SIP RTP QOS stats"; info->description = "Verify values in the RTP instance structure can be accessed through the dialplan."; diff --git a/channels/sip/reqresp_parser.c b/channels/sip/reqresp_parser.c index eb5c1803e..ddfc304c6 100644 --- a/channels/sip/reqresp_parser.c +++ b/channels/sip/reqresp_parser.c @@ -428,7 +428,7 @@ AST_TEST_DEFINE(sip_parse_uri_fully_test) switch (cmd) { case TEST_INIT: info->name = "sip_uri_full_parse_test"; - info->category = "channels/chan_sip/"; + info->category = "/channels/chan_sip/"; info->summary = "tests sip full uri parsing"; info->description = "Tests full parsing of various URIs " @@ -501,7 +501,7 @@ AST_TEST_DEFINE(sip_parse_uri_test) switch (cmd) { case TEST_INIT: info->name = "sip_uri_parse_test"; - info->category = "channels/chan_sip/"; + info->category = "/channels/chan_sip/"; info->summary = "tests sip uri parsing"; info->description = "Tests parsing of various URIs " @@ -758,7 +758,7 @@ AST_TEST_DEFINE(get_calleridname_test) switch (cmd) { case TEST_INIT: info->name = "sip_get_calleridname_test"; - info->category = "channels/chan_sip/"; + info->category = "/channels/chan_sip/"; info->summary = "decodes callerid name from sip header"; info->description = "Decodes display-name field of sip header. Checks for valid output and expected failure cases."; return AST_TEST_NOT_RUN; @@ -872,7 +872,7 @@ AST_TEST_DEFINE(get_name_and_number_test) switch (cmd) { case TEST_INIT: info->name = "sip_get_name_and_number_test"; - info->category = "channels/chan_sip/"; + info->category = "/channels/chan_sip/"; info->summary = "Tests getting name and number from sip header"; info->description = "Runs through various test situations in which a name and " @@ -1056,7 +1056,7 @@ AST_TEST_DEFINE(get_in_brackets_test) switch (cmd) { case TEST_INIT: info->name = "sip_get_in_brackets_test"; - info->category = "channels/chan_sip/"; + info->category = "/channels/chan_sip/"; info->summary = "Tests getting a sip uri in <> brackets within a sip header."; info->description = "Runs through various test situations in which a sip uri " @@ -1266,7 +1266,7 @@ AST_TEST_DEFINE(parse_name_andor_addr_test) switch (cmd) { case TEST_INIT: info->name = "parse_name_andor_addr_test"; - info->category = "channels/chan_sip/"; + info->category = "/channels/chan_sip/"; info->summary = "tests parsing of name_andor_addr abnf structure"; info->description = "Tests parsing of abnf name-andor-addr = name-addr / addr-spec " @@ -1496,7 +1496,7 @@ AST_TEST_DEFINE(parse_contact_header_test) switch (cmd) { case TEST_INIT: info->name = "parse_contact_header_test"; - info->category = "channels/chan_sip/"; + info->category = "/channels/chan_sip/"; info->summary = "tests parsing of sip contact header"; info->description = "Tests parsing of a contact header including those with multiple contacts " @@ -1714,7 +1714,7 @@ AST_TEST_DEFINE(sip_parse_options_test) switch (cmd) { case TEST_INIT: info->name = "sip_parse_options_test"; - info->category = "channels/chan_sip/"; + info->category = "/channels/chan_sip/"; info->summary = "Tests parsing of sip options"; info->description = "Tests parsing of SIP options from supported and required " -- cgit v1.2.3