Improve maidag, add testsuite.
* configure.ac: Add maidag/tests * maidag/Makefile.am (SUBDIRS): Add tests. * maidag/deliver.c (make_tmp): Write a message delimiter. (is_remote_url, is_mailer_url): Remove. (deliver_url): Allow for URLs without user name. * maidag/lmtp.c (lmtp_set_privs): Empty group list means do not switch to any groups. * maidag/maidag.c (mda_mode): New variable. (options): New option --mda. (cb_group, cb2_group): Create the list even if it is empty. (main): Handle --mda. * maidag/tests/.gitignore: New file. * maidag/tests/Makefile.am: New file. * maidag/tests/atlocal.in: New file. * maidag/tests/input.msg: New file. * maidag/tests/lmtp.at: New file. * maidag/tests/mda.at: New file. * maidag/tests/testsuite.at: New file. * maidag/tests/url-mbox.at: New file. * maidag/tests/input.msg: New file.
Showing
13 changed files
with
339 additions
and
45 deletions
maidag/tests/.gitignore
0 → 100644
maidag/tests/Makefile.am
0 → 100644
maidag/tests/atlocal.in
0 → 100644
maidag/tests/input.msg
0 → 100644
maidag/tests/lmtp.at
0 → 100644
maidag/tests/mda.at
0 → 100644
maidag/tests/testsuite.at
0 → 100644
maidag/tests/url-mbox.at
0 → 100644
-
Please register or sign in to post a comment