diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-05-31 16:52:18 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-06-01 12:23:13 +0300 |
commit | 5bce3efcd164e4c8dae1a7bcf892dd9da419eacd (patch) | |
tree | aec03f7d63586b6327016447547c3432cccee22b /mh/tests/ali.at | |
parent | e02df56cb384465b3238c46c6f214f27ee8431ab (diff) | |
download | mailutils-5bce3efcd164e4c8dae1a7bcf892dd9da419eacd.tar.gz mailutils-5bce3efcd164e4c8dae1a7bcf892dd9da419eacd.tar.bz2 |
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/Makefile.am (noinst_PROGRAMS): New variable.
* mh/tests/ali.at: Use lu instead of scanning /etc/passwd directly.
Diffstat (limited to 'mh/tests/ali.at')
-rw-r--r-- | mh/tests/ali.at | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mh/tests/ali.at b/mh/tests/ali.at index 487a6807a..98cd4771a 100644 --- a/mh/tests/ali.at +++ b/mh/tests/ali.at @@ -98,7 +98,7 @@ ali -list -a ./mh_aliases korzen [expout]) 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 AT_DATA([mh_aliases],[ everybody: * |