From: Dan Fandrich Date: Fri, 18 Mar 2011 20:59:48 +0000 (-0700) Subject: Added two more POP3 tests X-Git-Tag: curl-7_21_5~65 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7f57fb359d583d646494c6afb1c8e0d3c0c49c6b;p=curl Added two more POP3 tests --- diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 502abecc5..e75949ffb 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -71,7 +71,7 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \ test1203 test1117 test1118 test1119 test1120 test1300 test1301 test1302 \ test1303 test320 test321 test322 test323 test324 test1121 test581 test580 \ test1304 test1305 test1306 test1307 test582 test583 test808 test809 \ - test810 test811 + test810 test811 test812 test813 filecheck: @mkdir test-place; \ diff --git a/tests/data/test812 b/tests/data/test812 new file mode 100644 index 000000000..eb2a83669 --- /dev/null +++ b/tests/data/test812 @@ -0,0 +1,45 @@ + + + +POP3 +RETR +FAILURE + + + +# +# Server-side + + +REPLY RETR -ERR no such message + + + +# +# Client-side + + +pop3 + + +POP3 RETR invalid message + + +pop3://%HOSTIP:%POP3PORT/812 -u user:secret + + + +# +# Verify data after the test has been "shot" + + +56 + + +USER user +PASS secret +RETR 812 +QUIT + + + diff --git a/tests/data/test813 b/tests/data/test813 new file mode 100644 index 000000000..4953af413 --- /dev/null +++ b/tests/data/test813 @@ -0,0 +1,43 @@ + + + +POP3 +FAILURE + + + +# +# Server-side + + +REPLY PASS -ERR invalid login + + + +# +# Client-side + + +pop3 + + +POP3 invalid login + + +pop3://%HOSTIP:%POP3PORT/813 -u user:wrong + + + +# +# Verify data after the test has been "shot" + + +67 + + +USER user +PASS wrong +QUIT + + +