commit-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Mailutils branch, master, updated. release-2.2-676-g9572dc8


From: Sergey Poznyakoff
Subject: [SCM] GNU Mailutils branch, master, updated. release-2.2-676-g9572dc8
Date: Tue, 15 Apr 2014 09:02:12 +0000

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 <address@hidden>
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]