This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU Mailutils".
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?id=9572dc81dd060ad6a2a5ccae13efbb7ccf0608ef The branch, master has been updated via 9572dc81dd060ad6a2a5ccae13efbb7ccf0608ef (commit) from 1ec3df9a5798322d511d88100dd046a67b8cf38b (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 9572dc81dd060ad6a2a5ccae13efbb7ccf0608ef Author: Sergey Poznyakoff <g...@gnu.org.ua> Date: Tue Apr 15 11:59:39 2014 +0300 frm: fix counters when given multiple mailboxes. * frm/frm.c (frm): Initialize counters. * frm/tests/testsuite.at: Test multiple mailboxes. ----------------------------------------------------------------------- Summary of changes: frm/frm.c | 1 + frm/tests/testsuite.at | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 0 deletions(-) diff --git a/frm/frm.c b/frm/frm.c index 932ae91..1c128c9 100644 --- a/frm/frm.c +++ b/frm/frm.c @@ -261,6 +261,7 @@ frm (char *mailbox_name) int status; selected = 0; + counter.new = counter.read = counter.unread = 0; frm_scan (mailbox_name, frm_select, &total); if (show_summary) diff --git a/frm/tests/testsuite.at b/frm/tests/testsuite.at index 49ee78e..38d2e87 100644 --- a/frm/tests/testsuite.at +++ b/frm/tests/testsuite.at @@ -107,3 +107,19 @@ FRMTEST([frm -l on long headers],[frm07], ]) m4_popdef([FRM_MAILBOX]) + +AT_SETUP([multiple mailboxes]) +AT_KEYWORDS([frm08]) +AT_CHECK([ +cp $abs_top_srcdir/testsuite/spool/mbox $abs_top_srcdir/testsuite/spool/mbox1 . +frm FRM_OPTIONS -qS mbox mbox1], +[1], +[mbox: +Folder contains 1 new message. +mbox1: +Folder contains 5 new messages. +]) + +AT_CLEANUP]) + + hooks/post-receive -- GNU Mailutils _______________________________________________ Commit-mailutils mailing list Commit-mailutils@gnu.org https://lists.gnu.org/mailman/listinfo/commit-mailutils