[Asterisk-code-review] message_destination_parse: Fix older sipp incompatibility (testsuite[16])

George Joseph asteriskteam at digium.com
Fri Jun 11 11:17:16 CDT 2021


George Joseph has uploaded this change for review. ( https://gerrit.asterisk.org/c/testsuite/+/16065 )


Change subject: message_destination_parse: Fix older sipp incompatibility
......................................................................

message_destination_parse: Fix older sipp incompatibility

Older sipp versions don't like escaped double-quotes in
attribute values.

Change-Id: I55369536229a77762181a7d60050473074e645b0
---
M tests/channels/pjsip/message/message_destination_parsing/sipp/message_recv.xml
1 file changed, 1 insertion(+), 3 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/65/16065/1

diff --git a/tests/channels/pjsip/message/message_destination_parsing/sipp/message_recv.xml b/tests/channels/pjsip/message/message_destination_parsing/sipp/message_recv.xml
index a490fc7..ec1b832 100644
--- a/tests/channels/pjsip/message/message_destination_parsing/sipp/message_recv.xml
+++ b/tests/channels/pjsip/message/message_destination_parsing/sipp/message_recv.xml
@@ -5,7 +5,7 @@
 	<recv request="MESSAGE" crlf="true">
 		<action>
 			<!-- We need to ensure that a display name never makes it into the request uri -->
-			<ereg regexp='MESSAGE\s+\"[^a-zA-Z]+\"' search_in="msg"
+			<ereg regexp='MESSAGE\s+"[^a-zA-Z]+"' search_in="msg"
 				check_it_inverse="false" assign_to="junk"/>
 			<!-- We need to ensure that <> never makes it into the request uri -->
 			<ereg regexp='MESSAGE\s+<.+>' search_in="msg"
@@ -27,6 +27,4 @@
 
     ]]>
 	</send>
-
-	<Reference variables="junk"/>
 </scenario>

-- 
To view, visit https://gerrit.asterisk.org/c/testsuite/+/16065
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: testsuite
Gerrit-Branch: 16
Gerrit-Change-Id: I55369536229a77762181a7d60050473074e645b0
Gerrit-Change-Number: 16065
Gerrit-PatchSet: 1
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210611/e3f164e5/attachment.html>


More information about the asterisk-code-review mailing list