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

View file

@ -90,7 +90,7 @@ test635 test636 test637 test638 test639 test640 test641 test642 \
test643 test645 test646 test647 test648 test649 test650 test651 \
test652 test653 test654 test655 test656 test658 test659 test660 test661 \
test662 test663 test664 test665 test666 test667 test668 test669 \
test670 test671 test672 test673 test674 test675 test676 test678 \
test670 test671 test672 test673 test674 test675 test676 test677 test678 \
\
test700 test701 test702 test703 test704 test705 test706 test707 test708 \
test709 test710 test711 test712 test713 test714 test715 test716 test717 \

View file

@ -29,7 +29,6 @@ imap://%HOSTIP:%IMAPPORT/%TESTNUMBER
<verify>
<protocol>
A001 CAPABILITY
A002 LOGOUT
</protocol>
</verify>
</testcase>

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>