tizen 2.3.1 release
[external/curl.git] / tests / data / test802
index 7027c80..17349a8 100644 (file)
@@ -1,32 +1,35 @@
 <testcase>
 <info>
 <keywords>
-SMTP
+IMAP
+Clear Text
+SELECT
+UIDVALIDITY
 </keywords>
 </info>
 
 #
 # Server-side
 <reply>
+<data>
+body\r
+\r
+--\r
+  yours sincerely\r
+</data>
 </reply>
 
 #
 # Client-side
 <client>
 <server>
-smtp
+imap
 </server>
  <name>
-SMTP
+IMAP SELECT UIDVALIDITY Success
  </name>
-<stdin>
-From: different
-To: another
-
-body
-</stdin>
  <command>
-smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 802@foo --mail-rcpt 802@foobar.example --mail-from 802@from -T -
+'imap://%HOSTIP:%IMAPPORT/802;UIDVALIDITY=3857529045/;UID=123/;SECTION=TEXT' -u user:secret
 </command>
 </client>
 
@@ -34,20 +37,11 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 802@foo --mail-rcpt 802@foobar.example
 # Verify data after the test has been "shot"
 <verify>
 <protocol>
-EHLO user\r
-MAIL FROM:802@from\r
-RCPT TO:<802@foo>\r
-RCPT TO:<802@foobar.example>\r
-DATA\r
-QUIT\r
+A001 CAPABILITY\r
+A002 LOGIN user secret\r
+A003 SELECT 802\r
+A004 FETCH 123 BODY[TEXT]\r
+A005 LOGOUT\r
 </protocol>
-<upload>
-From: different
-To: another
-
-body
-\r
-.\r
-</upload>
 </verify>
 </testcase>