aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-04-19 23:33:02 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-04-20 12:40:53 +0200
commit4225e5db1b2a854c3ccd581071a53a9d1a707aac (patch)
treed6dcd58ef11c6184a92596d0badeba2bbaecf6de /tests
parente06b8bdae6a6e552d7430c00853d18b9378eac29 (diff)
test660: verify CONNECT_ONLY with IMAP
which basically just makes sure LOGOUT is *not* issued on disconnect
Diffstat (limited to 'tests')
-rw-r--r--tests/data/Makefile.inc2
-rw-r--r--tests/data/test66034
2 files changed, 35 insertions, 1 deletions
diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc
index 35eaccef9..d92131a8a 100644
--- a/tests/data/Makefile.inc
+++ b/tests/data/Makefile.inc
@@ -83,7 +83,7 @@ test617 test618 test619 test620 test621 test622 test623 test624 test625 \
test626 test627 test628 test629 test630 test631 test632 test633 test634 \
test635 test636 test637 test638 test639 test640 test641 test642 \
test643 test644 test645 test646 test647 test648 test649 test650 test651 \
-test652 test653 test654 test655 test656 test658 test659 \
+test652 test653 test654 test655 test656 test658 test659 test660 \
\
test700 test701 test702 test703 test704 test705 test706 test707 test708 \
test709 test710 test711 test712 test713 test714 test715 test716 test717 \
diff --git a/tests/data/test660 b/tests/data/test660
new file mode 100644
index 000000000..d480bc313
--- /dev/null
+++ b/tests/data/test660
@@ -0,0 +1,34 @@
+<testcase>
+<info>
+<keywords>
+IMAP
+CONNECT_ONLY
+</keywords>
+</info>
+
+# Client-side
+<client>
+<server>
+imap
+</server>
+<tool>
+lib597
+</tool>
+ <name>
+IMAP CONNECT_ONLY option
+ </name>
+
+<command>
+imap://%HOSTIP:%IMAPPORT/660
+</command>
+
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+A001 CAPABILITY
+</protocol>
+</verify>
+</testcase>