From 4118c30261cf7f38245cbf5aa87952da7f1e0224 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sat, 27 Apr 2013 12:32:27 +0100 Subject: tests: Updated SMTP tests to decouple client initial response Updated test903 and test904 following the addition of CURLOPT_SASL_IR as the default behaviour of SMTP AUTH responses is now to not include the initial response. New tests with --sasl-ir support to follow. --- tests/data/test903 | 6 ++++-- tests/data/test904 | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/data/test903 b/tests/data/test903 index f9f2d0949..35bac4567 100644 --- a/tests/data/test903 +++ b/tests/data/test903 @@ -13,7 +13,8 @@ RFC4954 REPLY EHLO 250 AUTH PLAIN -REPLY AUTH 235 Authenticated +REPLY AUTH 334 PLAIN supported +REPLY dGVzdAB0ZXN0ADEyMzQ= 235 Authenticated @@ -39,7 +40,8 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 903@foo --mail-from 903@from -u test:1 EHLO user -AUTH PLAIN dGVzdAB0ZXN0ADEyMzQ= +AUTH PLAIN +dGVzdAB0ZXN0ADEyMzQ= MAIL FROM:<903@from> RCPT TO:<903@foo> DATA diff --git a/tests/data/test904 b/tests/data/test904 index eaccae866..9c32a25e0 100644 --- a/tests/data/test904 +++ b/tests/data/test904 @@ -12,7 +12,8 @@ RFC4954 REPLY EHLO 250 AUTH LOGIN -REPLY AUTH 334 UGFzc3dvcmQ6 +REPLY AUTH 334 LOGIN supported +REPLY dGVzdA== 334 UGFzc3dvcmQ6 REPLY MTIzNA== 235 Authenticated @@ -39,7 +40,8 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 904@foo --mail-from 904@from -u test:1 EHLO user -AUTH LOGIN dGVzdA== +AUTH LOGIN +dGVzdA== MTIzNA== MAIL FROM:<904@from> RCPT TO:<904@foo> -- cgit v1.2.3