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

George Joseph asteriskteam at digium.com
Fri Jun 11 11:18:00 CDT 2021


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


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/97/16097/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/+/16097
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: testsuite
Gerrit-Branch: 18
Gerrit-Change-Id: I55369536229a77762181a7d60050473074e645b0
Gerrit-Change-Number: 16097
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/e3a4690f/attachment.html>


More information about the asterisk-code-review mailing list