tests: Removed expected QUIT response from graceful cancellation tests

A failure during authentication, which is performed as part of the
CONNECT phrase (for IMAP, POP3 and SMTP) is considered by the multi-
interface as being closed prematurely (aka a dead connection). As such
these protocols cannot issue the relevant QUIT or LOGOUT command.

Temporarily fixed the test cases until we can fix this properly.
This commit is contained in:
Steve Holme 2013-11-24 10:59:59 +00:00
Родитель 95877cf8ae
Коммит 8a94aedbd6
9 изменённых файлов: 27 добавлений и 9 удалений

Просмотреть файл

@ -41,11 +41,13 @@ IMAP CRAM-MD5 graceful cancellation
<errorcode>
67
</errorcode>
#
# The multi interface considers a broken "CONNECT" as a prematurely broken
# transfer and such a connection will not get a "LOGOUT"
<protocol>
A001 CAPABILITY
A002 AUTHENTICATE CRAM-MD5
*
A003 LOGOUT
</protocol>
</verify>
</testcase>

Просмотреть файл

@ -50,12 +50,14 @@ chkhostname curlhost
<errorcode>
67
</errorcode>
#
# The multi interface considers a broken "CONNECT" as a prematurely broken
# transfer and such a connection will not get a "LOGOUT"
<protocol>
A001 CAPABILITY
A002 AUTHENTICATE NTLM
TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
*
A003 LOGOUT
</protocol>
</verify>
</testcase>

Просмотреть файл

@ -42,11 +42,13 @@ IMAP DIGEST-MD5 graceful cancellation
<errorcode>
67
</errorcode>
#
# The multi interface considers a broken "CONNECT" as a prematurely broken
# transfer and such a connection will not get a "LOGOUT"
<protocol>
A001 CAPABILITY
A002 AUTHENTICATE DIGEST-MD5
*
A003 LOGOUT
</protocol>
</verify>
</testcase>

Просмотреть файл

@ -43,11 +43,13 @@ pop3://%HOSTIP:%POP3PORT/876 -u user:secret
<errorcode>
67
</errorcode>
#
# The multi interface considers a broken "CONNECT" as a prematurely broken
# transfer and such a connection will not get a "QUIT"
<protocol>
CAPA
AUTH CRAM-MD5
*
QUIT
</protocol>
</verify>
</testcase>

Просмотреть файл

@ -52,12 +52,14 @@ chkhostname curlhost
<errorcode>
67
</errorcode>
#
# The multi interface considers a broken "CONNECT" as a prematurely broken
# transfer and such a connection will not get a "QUIT"
<protocol>
CAPA
AUTH NTLM
TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
*
QUIT
</protocol>
</verify>
</testcase>

Просмотреть файл

@ -44,11 +44,13 @@ pop3://%HOSTIP:%POP3PORT/878 -u user:secret
<errorcode>
67
</errorcode>
#
# The multi interface considers a broken "CONNECT" as a prematurely broken
# transfer and such a connection will not get a "QUIT"
<protocol>
CAPA
AUTH DIGEST-MD5
*
QUIT
</protocol>
</verify>
</testcase>

Просмотреть файл

@ -42,11 +42,13 @@ smtp://%HOSTIP:%SMTPPORT/932 --mail-rcpt recipient@example.com --mail-from sende
<errorcode>
67
</errorcode>
#
# The multi interface considers a broken "CONNECT" as a prematurely broken
# transfer and such a connection will not get a "QUIT"
<protocol>
EHLO 932
AUTH CRAM-MD5
*
QUIT
</protocol>
</verify>
</testcase>

Просмотреть файл

@ -51,12 +51,14 @@ chkhostname curlhost
<errorcode>
67
</errorcode>
#
# The multi interface considers a broken "CONNECT" as a prematurely broken
# transfer and such a connection will not get a "QUIT"
<protocol>
EHLO 933
AUTH NTLM
TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
*
QUIT
</protocol>
</verify>
</testcase>

Просмотреть файл

@ -43,11 +43,13 @@ smtp://%HOSTIP:%SMTPPORT/934 --mail-rcpt recipient@example.com --mail-from sende
<errorcode>
67
</errorcode>
#
# The multi interface considers a broken "CONNECT" as a prematurely broken
# transfer and such a connection will not get a "QUIT"
<protocol>
EHLO 934
AUTH DIGEST-MD5
*
QUIT
</protocol>
</verify>
</testcase>