[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 73/220: tests: Fix the line endings for the SASL al
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 73/220: tests: Fix the line endings for the SASL alt-auth tests |
Date: |
Thu, 12 Sep 2019 17:27:13 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit a44394eac54ef851f70f7b50814e05d363410be7
Author: Jay Satiro <address@hidden>
AuthorDate: Thu May 23 04:01:09 2019 -0400
tests: Fix the line endings for the SASL alt-auth tests
- 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 grandparent commit which added the tests.
Ref: https://github.com/curl/curl/issues/3653
Ref: https://github.com/curl/curl/pull/3790
NOTE: This commit was cherry-picked and is part of a series of commits
that added the authzid feature for upcoming 7.66.0. The series was
temporarily reverted in db8ec1f so that it would not ship in a 7.65.x
patch release.
Closes https://github.com/curl/curl/pull/4186
---
tests/data/test848 | 26 +++++++++++++-------------
tests/data/test849 | 6 +++---
tests/data/test892 | 24 ++++++++++++------------
tests/data/test893 | 6 +++---
tests/data/test953 | 20 ++++++++++----------
tests/data/test954 | 6 +++---
6 files changed, 44 insertions(+), 44 deletions(-)
diff --git a/tests/data/test848 b/tests/data/test848
index bfea56898..2b4a30b2a 100644
--- a/tests/data/test848
+++ b/tests/data/test848
@@ -17,13 +17,13 @@ REPLY AUTHENTICATE +
REPLY c2hhcmVkLW1haWxib3gAdXNlcgBzZWNyZXQ= A002 OK AUTHENTICATE completed
</servercmd>
<data>
-From: me@somewhere
-To: fake@nowhere
-
-body
-
---
- yours sincerely
+From: me@somewhere
+To: fake@nowhere
+
+body
+
+--
+ yours sincerely
</data>
</reply>
@@ -45,12 +45,12 @@ IMAP plain authentication with alternative authorization
identity
# 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
+A002 AUTHENTICATE PLAIN
+c2hhcmVkLW1haWxib3gAdXNlcgBzZWNyZXQ=
+A003 SELECT 848
+A004 FETCH 1 BODY[]
+A005 LOGOUT
</protocol>
</verify>
</testcase>
diff --git a/tests/data/test849 b/tests/data/test849
index 65d5eacf7..8a4b39c00 100644
--- a/tests/data/test849
+++ b/tests/data/test849
@@ -43,9 +43,9 @@ IMAP plain authentication with alternative authorization
identity (Not authorize
# 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
+A002 AUTHENTICATE PLAIN
+dXJzZWwAa3VydAB4aXBqM3BsbXE=
</protocol>
</verify>
</testcase>
diff --git a/tests/data/test892 b/tests/data/test892
index 89a56fbc4..4b8318292 100644
--- a/tests/data/test892
+++ b/tests/data/test892
@@ -19,13 +19,13 @@ REPLY AUTH +
REPLY c2hhcmVkLW1haWxib3gAdXNlcgBzZWNyZXQ= +OK Login successful
</servercmd>
<data>
-From: me@somewhere
-To: fake@nowhere
-
-body
-
---
- yours sincerely
+From: me@somewhere
+To: fake@nowhere
+
+body
+
+--
+ yours sincerely
</data>
</reply>
@@ -47,11 +47,11 @@ pop3://%HOSTIP:%POP3PORT/892 -u user:secret --sasl-authzid
shared-mailbox
# Verify data after the test has been "shot"
<verify>
<protocol>
-CAPA
-AUTH PLAIN
-c2hhcmVkLW1haWxib3gAdXNlcgBzZWNyZXQ=
-RETR 892
-QUIT
+CAPA
+AUTH PLAIN
+c2hhcmVkLW1haWxib3gAdXNlcgBzZWNyZXQ=
+RETR 892
+QUIT
</protocol>
</verify>
</testcase>
diff --git a/tests/data/test893 b/tests/data/test893
index 982c2c897..2a762fc21 100644
--- a/tests/data/test893
+++ b/tests/data/test893
@@ -45,9 +45,9 @@ pop3://%HOSTIP:%POP3PORT/893 -u kurt:xipj3plmq --sasl-authzid
ursel
# 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
+AUTH PLAIN
+dXJzZWwAa3VydAB4aXBqM3BsbXE=
</protocol>
</verify>
</testcase>
diff --git a/tests/data/test953 b/tests/data/test953
index a7636dc22..4a70e1f31 100644
--- a/tests/data/test953
+++ b/tests/data/test953
@@ -29,7 +29,7 @@ smtp
SMTP plain authentication with alternative authorization identity
</name>
<stdin>
-mail body
+mail body
</stdin>
<command>
smtp://%HOSTIP:%SMTPPORT/953 --mail-rcpt address@hidden --mail-from
address@hidden -u kurt:xipj3plmq --sasl-authzid ursel -T -
@@ -40,17 +40,17 @@ smtp://%HOSTIP:%SMTPPORT/953 --mail-rcpt address@hidden
--mail-from sende
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 953
-AUTH PLAIN
-dXJzZWwAa3VydAB4aXBqM3BsbXE=
-MAIL FROM:<address@hidden>
-RCPT TO:<address@hidden>
-DATA
-QUIT
+EHLO 953
+AUTH PLAIN
+dXJzZWwAa3VydAB4aXBqM3BsbXE=
+MAIL FROM:<address@hidden>
+RCPT TO:<address@hidden>
+DATA
+QUIT
</protocol>
<upload>
-mail body
-.
+mail body
+.
</upload>
</verify>
</testcase>
diff --git a/tests/data/test954 b/tests/data/test954
index dcc0d2d0b..a5e6bb0d3 100644
--- a/tests/data/test954
+++ b/tests/data/test954
@@ -47,9 +47,9 @@ smtp://%HOSTIP:%SMTPPORT/954 --mail-rcpt address@hidden
--mail-from sende
# 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
+AUTH PLAIN
+dXJzZWwAa3VydAB4aXBqM3BsbXE=
</protocol>
</verify>
</testcase>
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [GNUnet-SVN] [gnurl] 108/220: RELEASE-NOTES: synced, (continued)
- [GNUnet-SVN] [gnurl] 108/220: RELEASE-NOTES: synced, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 110/220: curl_version_info: offer quic (and h3) library info, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 122/220: CURLOPT_ALTSVC.3: use a "" file name to not load from a file, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 113/220: docs/HTTP3: simplify quiche build instruction, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 116/220: curl_version_info.3: mentioned ALTSVC and HTTP3, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 121/220: vauth: Use CURLE_AUTH_ERROR for auth function errors, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 125/220: quiche: happy eyeballs, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 119/220: examples: add http3.c, altsvc.c and http3-present.c, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 127/220: multi: getsock improvements for QUIC connecting, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 86/220: docs/EXPERIMENTAL: explain what it means and what's experimental now, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 73/220: tests: Fix the line endings for the SASL alt-auth tests,
gnunet <=
- [GNUnet-SVN] [gnurl] 84/220: curl: use CURLINFO_PROTOCOL to check for HTTP(s), gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 72/220: examples: Added SASL PLAIN authorisation identity (authzid) examples, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 90/220: http3: fix the HTTP/3 in the request, make alt-svc set right versions, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 88/220: CURLOPT_HTTP_VERSION: seting this to 3 forces HTTP/3 use directly, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 104/220: nghttp3: required when ngtcp2 is used for QUIC, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 106/220: ngtcp2: send HTTP/3 request with nghttp3, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 107/220: CURLOPT_READFUNCTION.3: provide inline example, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 111/220: ngtcp2: initial h3 request work, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 128/220: ngtcp2: don't reinitialize SSL on Retry, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 124/220: ngtcp2: do QUIC connections happy-eyeballs friendly, gnunet, 2019/09/12