]> granicus.if.org Git - curl/commitdiff
test660: verify CONNECT_ONLY with IMAP
authorDaniel Stenberg <daniel@haxx.se>
Fri, 19 Apr 2019 21:33:02 +0000 (23:33 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 20 Apr 2019 10:40:53 +0000 (12:40 +0200)
which basically just makes sure LOGOUT is *not* issued on disconnect

tests/data/Makefile.inc
tests/data/test660 [new file with mode: 0644]

index 35eaccef9cc9fa61bcb3d74b17a5f27e60266801..d92131a8a27fd46fbf9dde91e927faf2cd41a251 100644 (file)
@@ -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 (file)
index 0000000..d480bc3
--- /dev/null
@@ -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\r
+</protocol>
+</verify>
+</testcase>