From 8d3efb6be04d7b591523cf1fe211625d0180449c Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 28 Nov 2011 23:34:16 +0100 Subject: test: added POP3 test with dot-prefixed line Test 815 is disabled for now since libcurl currently doesn't unescape such lines the way it should. See mail: http://curl.haxx.se/mail/lib-2011-11/0324.html --- tests/data/test815 | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 tests/data/test815 (limited to 'tests/data/test815') diff --git a/tests/data/test815 b/tests/data/test815 new file mode 100644 index 000000000..e8c882416 --- /dev/null +++ b/tests/data/test815 @@ -0,0 +1,56 @@ + + + +POP3 +RETR + + + +# +# Server-side + + +From: me@somewhere +To: fake@nowhere + +..body with a single dot first + +-- + yours sincerely + + +From: me@somewhere +To: fake@nowhere + +.body with a single dot first + +-- + yours sincerely + + + +# +# Client-side + + +pop3 + + +POP3 RETR with dot-prefixed line + + +pop3://%HOSTIP:%POP3PORT/815 -u user:secret + + + +# +# Verify data after the test has been "shot" + + +USER user +PASS secret +RETR 815 +QUIT + + + -- cgit v1.2.3