dovecot-2.0: dsync: Fixed unit test.
dovecot at dovecot.org
dovecot at dovecot.org
Thu Jul 1 23:52:52 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/e0c52292b586
changeset: 11696:e0c52292b586
user: Timo Sirainen <tss at iki.fi>
date: Thu Jul 01 21:45:00 2010 +0100
description:
dsync: Fixed unit test.
diffstat:
src/dsync/test-dsync-proxy-server-cmd.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (39 lines):
diff -r 54c3d17a4038 -r e0c52292b586 src/dsync/test-dsync-proxy-server-cmd.c
--- a/src/dsync/test-dsync-proxy-server-cmd.c Thu Jul 01 21:38:14 2010 +0100
+++ b/src/dsync/test-dsync-proxy-server-cmd.c Thu Jul 01 21:45:00 2010 +0100
@@ -107,7 +107,7 @@
/* last mailbox */
test_worker->box_iter.last = TRUE;
test_assert(run_more() == 1);
- test_assert(strcmp(str_c(out), "\t0\n") == 0);
+ test_assert(strcmp(str_c(out), "+\n") == 0);
out_clear();
test_end();
@@ -140,7 +140,7 @@
test_worker->subs_iter.last_subs = TRUE;
test_assert(run_more() == 0);
- test_assert(strcmp(str_c(out), "\t0\n") == 0);
+ test_assert(strcmp(str_c(out), "+\n") == 0);
out_clear();
/* unsubscription */
@@ -156,7 +156,7 @@
test_worker->subs_iter.last_unsubs = TRUE;
test_assert(run_more() == 1);
- test_assert(strcmp(str_c(out), "\t0\n") == 0);
+ test_assert(strcmp(str_c(out), "+\n") == 0);
out_clear();
test_end();
@@ -207,7 +207,7 @@
/* last message */
test_worker->msg_iter.last = TRUE;
test_assert(run_more() == 1);
- test_assert(strcmp(str_c(out), "\t0\n") == 0);
+ test_assert(strcmp(str_c(out), "+\n") == 0);
out_clear();
test_end();
More information about the dovecot-cvs
mailing list