dovecot-1.1: Added more tests to imap_match().
dovecot at dovecot.org
dovecot at dovecot.org
Mon Mar 3 06:25:15 EET 2008
details: http://hg.dovecot.org/dovecot-1.1/rev/3bece69a5bfc
changeset: 7325:3bece69a5bfc
user: Timo Sirainen <tss at iki.fi>
date: Mon Mar 03 06:25:11 2008 +0200
description:
Added more tests to imap_match().
diffstat:
1 file changed, 3 insertions(+)
src/tests/test-imap.c | 3 +++
diffs (13 lines):
diff -r 1d0de3d644e4 -r 3bece69a5bfc src/tests/test-imap.c
--- a/src/tests/test-imap.c Mon Mar 03 06:20:36 2008 +0200
+++ b/src/tests/test-imap.c Mon Mar 03 06:25:11 2008 +0200
@@ -33,6 +33,9 @@ static void test_imap_match(void)
{ "*foo*", "fobo", IMAP_MATCH_CHILDREN },
{ "foo*bar", "foobar/baz", IMAP_MATCH_CHILDREN | IMAP_MATCH_PARENT },
{ "*foo*", "fobo", IMAP_MATCH_CHILDREN },
+ { "%/%/%", "foo/", IMAP_MATCH_CHILDREN },
+ { "%/%o/%", "foo/", IMAP_MATCH_NO },
+ { "%/%o/%", "foo", IMAP_MATCH_CHILDREN },
{ "inbox", "inbox", IMAP_MATCH_YES },
{ "inbox", "INBOX", IMAP_MATCH_NO }
};
More information about the dovecot-cvs
mailing list