aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-09-21 08:21:43 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-09-22 14:43:33 +0200
commita4db3f70468c31c0d579e6b9dcd4e90cd9f0d1a8 (patch)
treeef9b519926df71f72493ebca518ac8e232154755 /tests/data
parentb8e0fe19ec3bd3b673a14043a4b5e656d9c26d06 (diff)
tests: make the imap server not verify user+password
... as the test cases themselves do that and it makes it easier to add crazy test cases. Test 800 updated to use user name + password that need quoting. Test 856 updated to trigger an auth fail differently. Ref: #1902
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/test8004
-rw-r--r--tests/data/test8563
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/data/test800 b/tests/data/test800
index 6b29f7a2b..1ac1da59b 100644
--- a/tests/data/test800
+++ b/tests/data/test800
@@ -31,7 +31,7 @@ imap
IMAP FETCH message
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/800/;UID=1' -u user:secret
+'imap://%HOSTIP:%IMAPPORT/800/;UID=1' -u "user*:secret{"
</command>
</client>
@@ -40,7 +40,7 @@ IMAP FETCH message
<verify>
<protocol>
A001 CAPABILITY
-A002 LOGIN user secret
+A002 LOGIN "user*" "secret{"
A003 SELECT 800
A004 FETCH 1 BODY[]
A005 LOGOUT
diff --git a/tests/data/test856 b/tests/data/test856
index 4d8d7ed61..dcb07c5a9 100644
--- a/tests/data/test856
+++ b/tests/data/test856
@@ -10,6 +10,9 @@ FAILURE
#
# Server-side
<reply>
+<servercmd>
+REPLY PASS -ERR Login failure
+</servercmd>
</reply>
#