]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tests: Added POP3 RSET test
authorSteve Holme <steve_holme@hotmail.com>
Fri, 18 Oct 2013 23:10:29 +0000 (00:10 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Fri, 18 Oct 2013 23:10:29 +0000 (00:10 +0100)
tests/data/Makefile.am
tests/data/test863 [new file with mode: 0644]

index a46ebe0240c38f314a990388b9c130be44399491..48583176048682a67ea6e40cfa0d5aeba1aaa1ad 100644 (file)
@@ -67,7 +67,7 @@ test800 test801 test802 test803 test804 test805 test806 test807 test808 \
 test809 test810 test811 test812 test813 test814 \
 \
 test850 test851 test852 test853 test854 test855 test856 test857 test858 \
-test859 test860 test861 test862 \
+test859 test860 test861 test862 test863 \
 \
 test900 test901 test902 test903 test904 test905 test906 test907 test908 \
 test909 test910 test911 test912 test913 test914 test915 test916 test917 \
diff --git a/tests/data/test863 b/tests/data/test863
new file mode 100644 (file)
index 0000000..a7c74bc
--- /dev/null
@@ -0,0 +1,40 @@
+<testcase>
+<info>
+<keywords>
+POP3
+RSET
+CUSTOMREQUEST\r
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+pop3
+</server>
+ <name>
+POP3 RSET (CUSTOMREQUEST)
+ </name>
+ <command>
+pop3://%HOSTIP:%POP3PORT -u user:secret -X RSET -I
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+CAPA\r
+USER user\r
+PASS secret\r
+RSET\r
+QUIT\r
+</protocol>
+</verify>
+</testcase>