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:
@@ -41,11 +41,13 @@ IMAP CRAM-MD5 graceful cancellation
|
|||||||
<errorcode>
|
<errorcode>
|
||||||
67
|
67
|
||||||
</errorcode>
|
</errorcode>
|
||||||
|
#
|
||||||
|
# The multi interface considers a broken "CONNECT" as a prematurely broken
|
||||||
|
# transfer and such a connection will not get a "LOGOUT"
|
||||||
<protocol>
|
<protocol>
|
||||||
A001 CAPABILITY
|
A001 CAPABILITY
|
||||||
A002 AUTHENTICATE CRAM-MD5
|
A002 AUTHENTICATE CRAM-MD5
|
||||||
*
|
*
|
||||||
A003 LOGOUT
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
</testcase>
|
</testcase>
|
||||||
|
|||||||
@@ -50,12 +50,14 @@ chkhostname curlhost
|
|||||||
<errorcode>
|
<errorcode>
|
||||||
67
|
67
|
||||||
</errorcode>
|
</errorcode>
|
||||||
|
#
|
||||||
|
# The multi interface considers a broken "CONNECT" as a prematurely broken
|
||||||
|
# transfer and such a connection will not get a "LOGOUT"
|
||||||
<protocol>
|
<protocol>
|
||||||
A001 CAPABILITY
|
A001 CAPABILITY
|
||||||
A002 AUTHENTICATE NTLM
|
A002 AUTHENTICATE NTLM
|
||||||
TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
|
TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
|
||||||
*
|
*
|
||||||
A003 LOGOUT
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
</testcase>
|
</testcase>
|
||||||
|
|||||||
@@ -42,11 +42,13 @@ IMAP DIGEST-MD5 graceful cancellation
|
|||||||
<errorcode>
|
<errorcode>
|
||||||
67
|
67
|
||||||
</errorcode>
|
</errorcode>
|
||||||
|
#
|
||||||
|
# The multi interface considers a broken "CONNECT" as a prematurely broken
|
||||||
|
# transfer and such a connection will not get a "LOGOUT"
|
||||||
<protocol>
|
<protocol>
|
||||||
A001 CAPABILITY
|
A001 CAPABILITY
|
||||||
A002 AUTHENTICATE DIGEST-MD5
|
A002 AUTHENTICATE DIGEST-MD5
|
||||||
*
|
*
|
||||||
A003 LOGOUT
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
</testcase>
|
</testcase>
|
||||||
|
|||||||
@@ -43,11 +43,13 @@ pop3://%HOSTIP:%POP3PORT/876 -u user:secret
|
|||||||
<errorcode>
|
<errorcode>
|
||||||
67
|
67
|
||||||
</errorcode>
|
</errorcode>
|
||||||
|
#
|
||||||
|
# The multi interface considers a broken "CONNECT" as a prematurely broken
|
||||||
|
# transfer and such a connection will not get a "QUIT"
|
||||||
<protocol>
|
<protocol>
|
||||||
CAPA
|
CAPA
|
||||||
AUTH CRAM-MD5
|
AUTH CRAM-MD5
|
||||||
*
|
*
|
||||||
QUIT
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
</testcase>
|
</testcase>
|
||||||
|
|||||||
@@ -52,12 +52,14 @@ chkhostname curlhost
|
|||||||
<errorcode>
|
<errorcode>
|
||||||
67
|
67
|
||||||
</errorcode>
|
</errorcode>
|
||||||
|
#
|
||||||
|
# The multi interface considers a broken "CONNECT" as a prematurely broken
|
||||||
|
# transfer and such a connection will not get a "QUIT"
|
||||||
<protocol>
|
<protocol>
|
||||||
CAPA
|
CAPA
|
||||||
AUTH NTLM
|
AUTH NTLM
|
||||||
TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
|
TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
|
||||||
*
|
*
|
||||||
QUIT
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
</testcase>
|
</testcase>
|
||||||
|
|||||||
@@ -44,11 +44,13 @@ pop3://%HOSTIP:%POP3PORT/878 -u user:secret
|
|||||||
<errorcode>
|
<errorcode>
|
||||||
67
|
67
|
||||||
</errorcode>
|
</errorcode>
|
||||||
|
#
|
||||||
|
# The multi interface considers a broken "CONNECT" as a prematurely broken
|
||||||
|
# transfer and such a connection will not get a "QUIT"
|
||||||
<protocol>
|
<protocol>
|
||||||
CAPA
|
CAPA
|
||||||
AUTH DIGEST-MD5
|
AUTH DIGEST-MD5
|
||||||
*
|
*
|
||||||
QUIT
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
</testcase>
|
</testcase>
|
||||||
|
|||||||
@@ -42,11 +42,13 @@ smtp://%HOSTIP:%SMTPPORT/932 --mail-rcpt recipient@example.com --mail-from sende
|
|||||||
<errorcode>
|
<errorcode>
|
||||||
67
|
67
|
||||||
</errorcode>
|
</errorcode>
|
||||||
|
#
|
||||||
|
# The multi interface considers a broken "CONNECT" as a prematurely broken
|
||||||
|
# transfer and such a connection will not get a "QUIT"
|
||||||
<protocol>
|
<protocol>
|
||||||
EHLO 932
|
EHLO 932
|
||||||
AUTH CRAM-MD5
|
AUTH CRAM-MD5
|
||||||
*
|
*
|
||||||
QUIT
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
</testcase>
|
</testcase>
|
||||||
|
|||||||
@@ -51,12 +51,14 @@ chkhostname curlhost
|
|||||||
<errorcode>
|
<errorcode>
|
||||||
67
|
67
|
||||||
</errorcode>
|
</errorcode>
|
||||||
|
#
|
||||||
|
# The multi interface considers a broken "CONNECT" as a prematurely broken
|
||||||
|
# transfer and such a connection will not get a "QUIT"
|
||||||
<protocol>
|
<protocol>
|
||||||
EHLO 933
|
EHLO 933
|
||||||
AUTH NTLM
|
AUTH NTLM
|
||||||
TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
|
TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
|
||||||
*
|
*
|
||||||
QUIT
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
</testcase>
|
</testcase>
|
||||||
|
|||||||
@@ -43,11 +43,13 @@ smtp://%HOSTIP:%SMTPPORT/934 --mail-rcpt recipient@example.com --mail-from sende
|
|||||||
<errorcode>
|
<errorcode>
|
||||||
67
|
67
|
||||||
</errorcode>
|
</errorcode>
|
||||||
|
#
|
||||||
|
# The multi interface considers a broken "CONNECT" as a prematurely broken
|
||||||
|
# transfer and such a connection will not get a "QUIT"
|
||||||
<protocol>
|
<protocol>
|
||||||
EHLO 934
|
EHLO 934
|
||||||
AUTH DIGEST-MD5
|
AUTH DIGEST-MD5
|
||||||
*
|
*
|
||||||
QUIT
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
</testcase>
|
</testcase>
|
||||||
|
|||||||
Reference in New Issue
Block a user