dovecot-2.2: istream-dot unit test updated.

dovecot at dovecot.org dovecot at dovecot.org
Thu Mar 14 15:41:49 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/e5b5e2ce7578
changeset: 16021:e5b5e2ce7578
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Mar 14 15:25:07 2013 +0200
description:
istream-dot unit test updated.

diffstat:

 src/lib-mail/test-istream-dot.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 6cabb95d32ec -r e5b5e2ce7578 src/lib-mail/test-istream-dot.c
--- a/src/lib-mail/test-istream-dot.c	Wed Mar 13 22:11:39 2013 +0200
+++ b/src/lib-mail/test-istream-dot.c	Thu Mar 14 15:25:07 2013 +0200
@@ -106,6 +106,8 @@
 	static struct dot_test tests[] = {
 		{ "..foo\n..\n.foo\n.\nfoo", ".foo\n.\nfoo\n", "foo" },
 		{ "..foo\r\n..\r\n.foo\r\n.\r\nfoo", ".foo\r\n.\r\nfoo\r\n", "foo" },
+		{ "\r.\r\n.\r\n", "\r.\r\n", "" },
+		{ "\n\r.\r\r\n.\r\n", "\n\r.\r\r\n", "" },
 		{ "\r\n.\r\n", "\r\n", "" },
 		{ "\n.\r\n", "\n", "" },
 		{ "\n.\n", "\n", "" },


More information about the dovecot-cvs mailing list