tizen 2.3.1 release
[external/curl.git] / tests / data / test806
index 8ece5dc..37822a4 100644 (file)
@@ -1,36 +1,33 @@
 <testcase>
 <info>
 <keywords>
-SMTP
-SMTP AUTH LOGIN
-RFC4954
+IMAP
+Clear Text
+LIST
 </keywords>
 </info>
 
 #
 # Server-side
 <reply>
-<servercmd>
-REPLY EHLO 220 AUTH LOGIN
-REPLY AUTH 334 UGFzc3dvcmQ6
-REPLY MTIzNA== 235 Authenticated
-</servercmd>
+<data>
+* LIST () "/" /806/blurdybloop\r
+* LIST (\Noselect) "/" /806/foo\r
+* LIST () "/" /806/foo/bar\r
+</data>
 </reply>
 
 #
 # Client-side
 <client>
 <server>
-smtp
+imap
 </server>
  <name>
-SMTP login authentication
+IMAP LIST mailbox
  </name>
-<stdin>
-mail body
-</stdin>
  <command>
-smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 806@foo --mail-from 806@from -u test:1234 -T -
+imap://%HOSTIP:%IMAPPORT/806 -u user:secret
 </command>
 </client>
 
@@ -38,18 +35,10 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 806@foo --mail-from 806@from -u test:1
 # Verify data after the test has been "shot"
 <verify>
 <protocol>
-EHLO user\r
-AUTH LOGIN dGVzdA==\r
-MTIzNA==\r
-MAIL FROM:806@from\r
-RCPT TO:<806@foo>\r
-DATA\r
-QUIT\r
+A001 CAPABILITY\r
+A002 LOGIN user secret\r
+A003 LIST "806" *\r
+A004 LOGOUT\r
 </protocol>
-<upload>
-mail body
-\r
-.\r
-</upload>
 </verify>
 </testcase>