From: Steve Holme Date: Sat, 26 Oct 2013 12:44:31 +0000 (+0100) Subject: tests: Tidy up of SMTP and POP3 tests X-Git-Tag: curl-7_34_0~189 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e4670a102921ca6b97f1948125f4adf44bdc6719;p=thirdparty%2Fcurl.git tests: Tidy up of SMTP and POP3 tests Corrected line endings, RFC references and standardised on user names and passwords used in the tests. --- diff --git a/tests/data/test856 b/tests/data/test856 index 55991c7b6b..ae089d1914 100644 --- a/tests/data/test856 +++ b/tests/data/test856 @@ -2,7 +2,7 @@ POP3 -LOGIN +LOGIN FAILURE diff --git a/tests/data/test858 b/tests/data/test858 index 05477efb2d..0c7b3b7482 100644 --- a/tests/data/test858 +++ b/tests/data/test858 @@ -3,7 +3,7 @@ POP3 DELE -CUSTOMREQUEST +CUSTOMREQUEST diff --git a/tests/data/test859 b/tests/data/test859 index f038b5c68a..b85ba1f901 100644 --- a/tests/data/test859 +++ b/tests/data/test859 @@ -3,7 +3,7 @@ POP3 STAT -CUSTOMREQUEST +CUSTOMREQUEST diff --git a/tests/data/test860 b/tests/data/test860 index fc8b252c94..46a1b9a727 100644 --- a/tests/data/test860 +++ b/tests/data/test860 @@ -3,7 +3,7 @@ POP3 NOOP -CUSTOMREQUEST +CUSTOMREQUEST diff --git a/tests/data/test861 b/tests/data/test861 index 0a69176154..ee86d82c26 100644 --- a/tests/data/test861 +++ b/tests/data/test861 @@ -3,7 +3,8 @@ POP3 UIDL -CUSTOMREQUEST +CUSTOMREQUEST +RFC2449 diff --git a/tests/data/test862 b/tests/data/test862 index debba4df7f..140a064b5a 100644 --- a/tests/data/test862 +++ b/tests/data/test862 @@ -3,7 +3,8 @@ POP3 TOP -CUSTOMREQUEST +CUSTOMREQUEST +RFC2449 diff --git a/tests/data/test903 b/tests/data/test903 index 8c0e90fa98..7c23661d4b 100644 --- a/tests/data/test903 +++ b/tests/data/test903 @@ -14,7 +14,7 @@ RFC4954 AUTH PLAIN REPLY AUTH 334 PLAIN supported -REPLY dGVzdAB0ZXN0ADEyMzQ= 235 Authenticated +REPLY dXNlcgB1c2VyAHNlY3JldA== 235 Authenticated @@ -31,7 +31,7 @@ SMTP plain authentication mail body -smtp://%HOSTIP:%SMTPPORT/903 --mail-rcpt recipient@example.com --mail-from sender@example.com -u test:1234 -T - +smtp://%HOSTIP:%SMTPPORT/903 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T - @@ -41,7 +41,7 @@ smtp://%HOSTIP:%SMTPPORT/903 --mail-rcpt recipient@example.com --mail-from sende EHLO 903 AUTH PLAIN -dGVzdAB0ZXN0ADEyMzQ= +dXNlcgB1c2VyAHNlY3JldA== MAIL FROM: RCPT TO: DATA diff --git a/tests/data/test904 b/tests/data/test904 index dd7f533869..2c90cea97d 100644 --- a/tests/data/test904 +++ b/tests/data/test904 @@ -12,9 +12,9 @@ RFC4954 AUTH LOGIN -REPLY AUTH 334 LOGIN supported -REPLY dGVzdA== 334 UGFzc3dvcmQ6 -REPLY MTIzNA== 235 Authenticated +REPLY AUTH 334 LOGIN supported +REPLY dXNlcg== 334 UGFzc3dvcmQ6 +REPLY c2VjcmV0 235 Authenticated @@ -31,7 +31,7 @@ SMTP login authentication mail body -smtp://%HOSTIP:%SMTPPORT/904 --mail-rcpt recipient@example.com --mail-from sender@example.com -u test:1234 -T - +smtp://%HOSTIP:%SMTPPORT/904 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T - @@ -41,8 +41,8 @@ smtp://%HOSTIP:%SMTPPORT/904 --mail-rcpt recipient@example.com --mail-from sende EHLO 904 AUTH LOGIN -dGVzdA== -MTIzNA== +dXNlcg== +c2VjcmV0 MAIL FROM: RCPT TO: DATA diff --git a/tests/data/test906 b/tests/data/test906 index 6cf6bedbf5..4b0f2a8548 100644 --- a/tests/data/test906 +++ b/tests/data/test906 @@ -3,6 +3,7 @@ SMTP SMTP AUTH NTLM +RFC4954 diff --git a/tests/data/test919 b/tests/data/test919 index bc26fef55e..22508ab28d 100644 --- a/tests/data/test919 +++ b/tests/data/test919 @@ -30,7 +30,7 @@ SMTP plain authentication with initial response mail body -smtp://%HOSTIP:%SMTPPORT/919 --mail-rcpt recipient@example.com --mail-from sender@example.com -u test:1234 --sasl-ir -T - +smtp://%HOSTIP:%SMTPPORT/919 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret --sasl-ir -T - @@ -39,7 +39,7 @@ smtp://%HOSTIP:%SMTPPORT/919 --mail-rcpt recipient@example.com --mail-from sende EHLO 919 -AUTH PLAIN dGVzdAB0ZXN0ADEyMzQ= +AUTH PLAIN dXNlcgB1c2VyAHNlY3JldA== MAIL FROM: RCPT TO: DATA diff --git a/tests/data/test920 b/tests/data/test920 index 8502215e25..74f05a9cc2 100644 --- a/tests/data/test920 +++ b/tests/data/test920 @@ -13,7 +13,7 @@ RFC4954 AUTH LOGIN REPLY AUTH 334 UGFzc3dvcmQ6 -REPLY MTIzNA== 235 Authenticated +REPLY c2VjcmV0 235 Authenticated @@ -30,7 +30,7 @@ SMTP login authentication with initial response mail body -smtp://%HOSTIP:%SMTPPORT/920 --mail-rcpt recipient@example.com --mail-from sender@example.com -u test:1234 --sasl-ir -T - +smtp://%HOSTIP:%SMTPPORT/920 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret --sasl-ir -T - @@ -39,8 +39,8 @@ smtp://%HOSTIP:%SMTPPORT/920 --mail-rcpt recipient@example.com --mail-from sende EHLO 920 -AUTH LOGIN dGVzdA== -MTIzNA== +AUTH LOGIN dXNlcg== +c2VjcmV0 MAIL FROM: RCPT TO: DATA