path: root/mh/tests/
diff options
authorSergey Poznyakoff <>2012-05-31 16:52:18 +0300
committerSergey Poznyakoff <>2012-06-01 12:23:13 +0300
commit5bce3efcd164e4c8dae1a7bcf892dd9da419eacd (patch)
treeaec03f7d63586b6327016447547c3432cccee22b /mh/tests/
parente02df56cb384465b3238c46c6f214f27ee8431ab (diff)
inc: accept mail from multiple source mailboxes.
* doc/texinfo/mu-mh.texi: Document changes to inc. * NEWS: Likewise. * mh/inc.c: Accept multiple source mailboxes. (input_file): Remove. (input_file_list): New variable. (opt_handler): Multiple -file options augment input_file_list. (incmbox): New function. (main): Iterate over input_file_list, incorporating mail from each mailbox in it. Bugfix: * libproto/imap/mbox.c (_imap_env_date): Return a 0-terminated string. Fix MH test suite. The ali-everybody tests fails on machines with user database kept in a non-standard storage (e.g. LDAP or NIS). This patch attempts to fix it. * mh/tests/lu.c: New file. * mh/tests/.gitignore: Add lu. * mh/tests/ (noinst_PROGRAMS): New variable. * mh/tests/ Use lu instead of scanning /etc/passwd directly.
Diffstat (limited to 'mh/tests/')
1 files changed, 1 insertions, 1 deletions
diff --git a/mh/tests/ b/mh/tests/
index 487a6807a..98cd4771a 100644
--- a/mh/tests/
+++ b/mh/tests/
@@ -98,7 +98,7 @@ ali -list -a ./mh_aliases korzen
MH_CHECK([ali: everybody],[ali06 ali-everybody],[
-cat /etc/passwd | awk -F : '/^#/ { next } $3>200 { print $1 }' > expout
+lu 200 > expout
test -s expout || AT_SKIP_TEST
everybody: *

Return to:

Send suggestions and report system problems to the System administrator.