From 8a94aedbd6c0afe0da7d27aac6f5a16d8eff60a1 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 24 Nov 2013 10:59:59 +0000 Subject: 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. --- tests/data/test830 | 4 +++- tests/data/test831 | 4 +++- tests/data/test832 | 4 +++- tests/data/test876 | 4 +++- tests/data/test877 | 4 +++- tests/data/test878 | 4 +++- tests/data/test932 | 4 +++- tests/data/test933 | 4 +++- tests/data/test934 | 4 +++- 9 files changed, 27 insertions(+), 9 deletions(-) (limited to 'tests') diff --git a/tests/data/test830 b/tests/data/test830 index 42587f6e3..edc3eb1e7 100644 --- a/tests/data/test830 +++ b/tests/data/test830 @@ -41,11 +41,13 @@ IMAP CRAM-MD5 graceful cancellation 67 +# +# The multi interface considers a broken "CONNECT" as a prematurely broken +# transfer and such a connection will not get a "LOGOUT" A001 CAPABILITY A002 AUTHENTICATE CRAM-MD5 * -A003 LOGOUT diff --git a/tests/data/test831 b/tests/data/test831 index 651327c6d..4963ba372 100644 --- a/tests/data/test831 +++ b/tests/data/test831 @@ -50,12 +50,14 @@ chkhostname curlhost 67 +# +# The multi interface considers a broken "CONNECT" as a prematurely broken +# transfer and such a connection will not get a "LOGOUT" A001 CAPABILITY A002 AUTHENTICATE NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= * -A003 LOGOUT diff --git a/tests/data/test832 b/tests/data/test832 index c563a05e1..6c54b304f 100644 --- a/tests/data/test832 +++ b/tests/data/test832 @@ -42,11 +42,13 @@ IMAP DIGEST-MD5 graceful cancellation 67 +# +# The multi interface considers a broken "CONNECT" as a prematurely broken +# transfer and such a connection will not get a "LOGOUT" A001 CAPABILITY A002 AUTHENTICATE DIGEST-MD5 * -A003 LOGOUT diff --git a/tests/data/test876 b/tests/data/test876 index 2050ba174..8cac5a4d0 100644 --- a/tests/data/test876 +++ b/tests/data/test876 @@ -43,11 +43,13 @@ pop3://%HOSTIP:%POP3PORT/876 -u user:secret 67 +# +# The multi interface considers a broken "CONNECT" as a prematurely broken +# transfer and such a connection will not get a "QUIT" CAPA AUTH CRAM-MD5 * -QUIT diff --git a/tests/data/test877 b/tests/data/test877 index 33604cb0f..b46c1e067 100644 --- a/tests/data/test877 +++ b/tests/data/test877 @@ -52,12 +52,14 @@ chkhostname curlhost 67 +# +# The multi interface considers a broken "CONNECT" as a prematurely broken +# transfer and such a connection will not get a "QUIT" CAPA AUTH NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= * -QUIT diff --git a/tests/data/test878 b/tests/data/test878 index 33ffb8657..238944404 100644 --- a/tests/data/test878 +++ b/tests/data/test878 @@ -44,11 +44,13 @@ pop3://%HOSTIP:%POP3PORT/878 -u user:secret 67 +# +# The multi interface considers a broken "CONNECT" as a prematurely broken +# transfer and such a connection will not get a "QUIT" CAPA AUTH DIGEST-MD5 * -QUIT diff --git a/tests/data/test932 b/tests/data/test932 index 73afbfcfa..e4025362e 100644 --- a/tests/data/test932 +++ b/tests/data/test932 @@ -42,11 +42,13 @@ smtp://%HOSTIP:%SMTPPORT/932 --mail-rcpt recipient@example.com --mail-from sende 67 +# +# The multi interface considers a broken "CONNECT" as a prematurely broken +# transfer and such a connection will not get a "QUIT" EHLO 932 AUTH CRAM-MD5 * -QUIT diff --git a/tests/data/test933 b/tests/data/test933 index 3b7ca21df..6352fb5bb 100644 --- a/tests/data/test933 +++ b/tests/data/test933 @@ -51,12 +51,14 @@ chkhostname curlhost 67 +# +# The multi interface considers a broken "CONNECT" as a prematurely broken +# transfer and such a connection will not get a "QUIT" EHLO 933 AUTH NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= * -QUIT diff --git a/tests/data/test934 b/tests/data/test934 index 79676f1d7..0f013dd8e 100644 --- a/tests/data/test934 +++ b/tests/data/test934 @@ -43,11 +43,13 @@ smtp://%HOSTIP:%SMTPPORT/934 --mail-rcpt recipient@example.com --mail-from sende 67 +# +# The multi interface considers a broken "CONNECT" as a prematurely broken +# transfer and such a connection will not get a "QUIT" EHLO 934 AUTH DIGEST-MD5 * -QUIT -- cgit v1.2.3