tests: add two simple tests for --login-options

Test 895 and 896 - as a follow-up to a3e972313b

Closes #5539
This commit is contained in:
Daniel Stenberg 2020-06-08 10:46:32 +02:00
parent 99e09d9046
commit 876e66412a
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 94 additions and 6 deletions

38
tests/data/test896 Normal file
View file

@ -0,0 +1,38 @@
<testcase>
<info>
<keywords>
IMAP
Clear Text
FETCH
--login-options
</keywords>
</info>
#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<server>
imap
</server>
<name>
IMAP with --login-options 'AUTH=dummy' (failing)
</name>
<command>
'imap://%HOSTIP:%IMAPPORT/895/;MAILINDEX=1' -u '"user:sec"ret{' --login-options 'AUTH=dummy'
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
# 3 == CURLE_URL_MALFORMAT
<errorcode>
3
</errorcode>
</verify>
</testcase>