- Change data and protocol sections to CRLF line endings.
Prior to this change the tests would fail or hang, which is because
certain sections such as protocol require CRLF line endings.
Follow-up to
a9499ff from today which added the tests.
Ref: https://github.com/curl/curl/pull/3790
REPLY c2hhcmVkLW1haWxib3gAdXNlcgBzZWNyZXQ= A002 OK AUTHENTICATE completed
</servercmd>
<data>
-From: me@somewhere
-To: fake@nowhere
-
-body
-
---
- yours sincerely
+From: me@somewhere\r
+To: fake@nowhere\r
+\r
+body\r
+\r
+--\r
+ yours sincerely\r
</data>
</reply>
# Verify data after the test has been "shot"
<verify>
<protocol>
-A001 CAPABILITY
-A002 AUTHENTICATE PLAIN
-c2hhcmVkLW1haWxib3gAdXNlcgBzZWNyZXQ=
-A003 SELECT 848
-A004 FETCH 1 BODY[]
-A005 LOGOUT
+A001 CAPABILITY\r
+A002 AUTHENTICATE PLAIN\r
+c2hhcmVkLW1haWxib3gAdXNlcgBzZWNyZXQ=\r
+A003 SELECT 848\r
+A004 FETCH 1 BODY[]\r
+A005 LOGOUT\r
</protocol>
</verify>
</testcase>
# The multi interface considers a broken "CONNECT" as a prematurely broken
# transfer and such a connection will not get a "LOGOUT"
<protocol>
-A001 CAPABILITY
-A002 AUTHENTICATE PLAIN
-dXJzZWwAa3VydAB4aXBqM3BsbXE=
+A001 CAPABILITY\r
+A002 AUTHENTICATE PLAIN\r
+dXJzZWwAa3VydAB4aXBqM3BsbXE=\r
</protocol>
</verify>
</testcase>
REPLY c2hhcmVkLW1haWxib3gAdXNlcgBzZWNyZXQ= +OK Login successful
</servercmd>
<data>
-From: me@somewhere
-To: fake@nowhere
-
-body
-
---
- yours sincerely
+From: me@somewhere\r
+To: fake@nowhere\r
+\r
+body\r
+\r
+--\r
+ yours sincerely\r
</data>
</reply>
# Verify data after the test has been "shot"
<verify>
<protocol>
-CAPA
-AUTH PLAIN
-c2hhcmVkLW1haWxib3gAdXNlcgBzZWNyZXQ=
-RETR 892
-QUIT
+CAPA\r
+AUTH PLAIN\r
+c2hhcmVkLW1haWxib3gAdXNlcgBzZWNyZXQ=\r
+RETR 892\r
+QUIT\r
</protocol>
</verify>
</testcase>
# The multi interface considers a broken "CONNECT" as a prematurely broken
# transfer and such a connection will not get a "QUIT"
<protocol>
-CAPA
-AUTH PLAIN
-dXJzZWwAa3VydAB4aXBqM3BsbXE=
+CAPA\r
+AUTH PLAIN\r
+dXJzZWwAa3VydAB4aXBqM3BsbXE=\r
</protocol>
</verify>
</testcase>
SMTP plain authentication with alternative authorization identity
</name>
<stdin>
-mail body
+mail body\r
</stdin>
<command>
smtp://%HOSTIP:%SMTPPORT/953 --mail-rcpt recipient@example.com --mail-from sender@example.com -u kurt:xipj3plmq --sasl-authzid ursel -T -
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 953
-AUTH PLAIN
-dXJzZWwAa3VydAB4aXBqM3BsbXE=
-MAIL FROM:<sender@example.com>
-RCPT TO:<recipient@example.com>
-DATA
-QUIT
+EHLO 953\r
+AUTH PLAIN\r
+dXJzZWwAa3VydAB4aXBqM3BsbXE=\r
+MAIL FROM:<sender@example.com>\r
+RCPT TO:<recipient@example.com>\r
+DATA\r
+QUIT\r
</protocol>
<upload>
-mail body
-.
+mail body\r
+.\r
</upload>
</verify>
</testcase>
# The multi interface considers a broken "CONNECT" as a prematurely broken
# transfer and such a connection will not get a "QUIT"
<protocol>
-EHLO 954
-AUTH PLAIN
-dXJzZWwAa3VydAB4aXBqM3BsbXE=
+EHLO 954\r
+AUTH PLAIN\r
+dXJzZWwAa3VydAB4aXBqM3BsbXE=\r
</protocol>
</verify>
</testcase>