summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-04-19 23:33:02 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-04-19 23:33:02 +0200
commitd11c83f24df1b2085438c50b769115bc27a1f403 (patch)
treed6dcd58ef11c6184a92596d0badeba2bbaecf6de
parentc8be605330f891790974594ead41aa16653ba4a5 (diff)
downloadcurl-bagder/connect_only-disconnect.tar.gz
test660: verify CONNECT_ONLY with IMAPbagder/connect_only-disconnect
which basically just makes sure LOGOUT is *not* issued on disconnect
-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>