From e6cd738ed3716c02557fb3a47515244e949ade39 Mon Sep 17 00:00:00 2001 From: Bertrand SIMONNET Date: Wed, 1 Jul 2015 15:39:44 -0700 Subject: Import curl 7.43 This is a simple import of curl 7.43. The only change from the official release is the fact that the Android.mk was removed to avoid build error trying to parse it. BUG: 22347561 Change-Id: I52ef6798d30b25d22d1f62770d571adec8bcf4d5 --- tests/data/test936 | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 tests/data/test936 (limited to 'tests/data/test936') diff --git a/tests/data/test936 b/tests/data/test936 new file mode 100644 index 00000000..88c8a937 --- /dev/null +++ b/tests/data/test936 @@ -0,0 +1,76 @@ + + + +SMTP +SASL +SASL AUTH NTLM +SASL AUTH PLAIN +SASL DOWNGRADE +RFC4954 + + + +# +# Server-side + + +AUTH NTLM PLAIN +REPLY "AUTH NTLM" 334 NTLM supported +REPLY TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= 334 Rubbish +REPLY * 501 AUTH exchange cancelled by client +REPLY "AUTH PLAIN" 334 PLAIN supported +REPLY dXNlcgB1c2VyAHNlY3JldA== 235 Authenticated + + + +# +# Client-side + + +smtp + + +NTLM +!SSPI + + +SMTP NTLM authentication with SASL downgrade + + +mail body + + +# we force our own host name, in order to make the test machine independent +CURL_GETHOSTNAME=curlhost +# we try to use the LD_PRELOAD hack, if not a debug build +LD_PRELOAD=%PWD/libtest/.libs/libhostname.so + + +smtp://%HOSTIP:%SMTPPORT/936 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T - + + +chkhostname curlhost + + + +# +# Verify data after the test has been "shot" + + +EHLO 936 +AUTH NTLM +TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= +* +AUTH PLAIN +dXNlcgB1c2VyAHNlY3JldA== +MAIL FROM: +RCPT TO: +DATA +QUIT + + +mail body +. + + + -- cgit v1.2.3