tizen 2.3.1 release
[external/curl.git] / tests / data / test804
index 3d490c5..c6dfccf 100644 (file)
@@ -1,38 +1,34 @@
 <testcase>
 <info>
 <keywords>
-SMTP
-SMTP HELO
-RFC821
+IMAP
+Clear Text
+SELECT
 </keywords>
 </info>
 
 #
 # Server-side
 <reply>
-<servercmd>
-REPLY EHLO 500 Command unrecognized
-REPLY HELO 250 Already old but still servicing...
-</servercmd>
+<data>
+body\r
+\r
+--\r
+  yours sincerely\r
+</data>
 </reply>
 
 #
 # Client-side
 <client>
 <server>
-smtp
+imap
 </server>
  <name>
-RFC821-only SMTP server (EHLO not supported)
+IMAP doesn't perform SELECT if re-using the same mailbox
  </name>
-<stdin>
-From: different
-To: another
-
-body
-</stdin>
  <command>
-smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 804@foo --mail-from 804@from -T -
+'imap://%HOSTIP:%IMAPPORT/804/;UID=123/;SECTION=1' 'imap://%HOSTIP:%IMAPPORT/804/;UID=456/;SECTION=2.3' -u user:secret
 </command>
 </client>
 
@@ -40,20 +36,12 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 804@foo --mail-from 804@from -T -
 # Verify data after the test has been "shot"
 <verify>
 <protocol>
-EHLO user\r
-HELO user\r
-MAIL FROM:804@from\r
-RCPT TO:<804@foo>\r
-DATA\r
-QUIT\r
+A001 CAPABILITY\r
+A002 LOGIN user secret\r
+A003 SELECT 804\r
+A004 FETCH 123 BODY[1]\r
+A005 FETCH 456 BODY[2.3]\r
+A006 LOGOUT\r
 </protocol>
-<upload>
-From: different
-To: another
-
-body
-\r
-.\r
-</upload>
 </verify>
 </testcase>