test677: IMAP CONNECT_ONLY, custom command and then exit

Adjusted ftpserver.pl to add support for the IMAP IDLE command

Adjusted test 660 to sync with the fix
This commit is contained in:
Daniel Stenberg 2021-06-18 23:49:25 +02:00
parent 9accc48850
commit a5ab72d5ed
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
6 changed files with 174 additions and 3 deletions

43
tests/data/test677 Normal file
View file

@ -0,0 +1,43 @@
<testcase>
<info>
<keywords>
IMAP
CONNECT_ONLY
</keywords>
</info>
#
# Server-side
<reply>
<data>
</data>
</reply>
#
# Client-side
<client>
<server>
imap
</server>
<name>
IMAP with CONNECT_ONLY, custom command then exit
</name>
<tool>
lib%TESTNUMBER
</tool>
<command>
imap://%HOSTIP:%IMAPPORT/677
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol>
A001 CAPABILITY
A1 IDLE
</protocol>
</verify>
</testcase>