aboutsummaryrefslogtreecommitdiffstats
path: root/tests/data/test806
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/test806')
-rw-r--r--tests/data/test80641
1 files changed, 15 insertions, 26 deletions
diff --git a/tests/data/test806 b/tests/data/test806
index 8ece5dc8..37822a47 100644
--- a/tests/data/test806
+++ b/tests/data/test806
@@ -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
+* LIST (\Noselect) "/" /806/foo
+* LIST () "/" /806/foo/bar
+</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
-AUTH LOGIN dGVzdA==
-MTIzNA==
-MAIL FROM:806@from
-RCPT TO:<806@foo>
-DATA
-QUIT
+A001 CAPABILITY
+A002 LOGIN user secret
+A003 LIST "806" *
+A004 LOGOUT
</protocol>
-<upload>
-mail body
-
-.
-</upload>
</verify>
</testcase>